如何删除 pdfplots 中的框和刻度标记? 2024-5-25 • pgfplots 假设我有一个简单的函数,想要在 pgfplots 中绘制。 我用来绘制此图的代码(删除了前言)是: \begin{tikzpicture} \begin{axis}[thick, smooth, no markers] \addplot {x^2+2}; \end{axis} \end{tikzpicture} 我想删除函数周围的所有内容。我尝试在线查看如何完成此操作(以及 pgfplots 文档),但无法使其工作。我该如何做到这一点? 答案1 hide axis \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ hide axis, every axis plot/.style={thick, smooth, no markers} ] \addplot {x^2+2}; \end{axis} \end{tikzpicture} \end{document} 相关内容 Linux 发行版之间存在哪些差异并导致实际不兼容? [关闭] Nautilus 基本兼容吗? 定义 `\newtcolorbox` 的可选参数 在 openldap 中启用匿名绑定 在 Live USB 上运行 Ubuntu 单位圆内的三角形的角度 文件类型检测不起作用 Windows 7 和 Internet Explorer 8:每个浏览器实例没有分组? 如何为我的 MIB 选择 OID 在启动器上组合多个类似项目[重复]