TeX系列: tikz-3dplot绘图宏包 (ubuntu12.04)
2014-12-19 10:53
405 查看
tikz-3dplot包提供了针对TikZ的命令和坐标变换样式, 能够相对直接地绘制三维坐标系统和简单三维图形. tikz-3dplot包当前处于初创期, 有很多功能有待完善.
安装过程如下:
(1) 下载宏包tikz-3dplot.sty
http://www.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/
(2) 把上述文件拷贝至TeX的目录树上, 比如/usr/share/texmf/tex/latex/tikz-3dplot, running the below command:
texhash
重建TeX目录树
(3) Test
Completely testing!!!
reference:
1)http://www.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/
2)http://blog.csdn.net/mathsoperator/article/details/6825010
安装过程如下:
(1) 下载宏包tikz-3dplot.sty
http://www.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/
(2) 把上述文件拷贝至TeX的目录树上, 比如/usr/share/texmf/tex/latex/tikz-3dplot, running the below command:
texhash
重建TeX目录树
(3) Test
\documentclass{article} \usepackage{tikz} %for TikZ graphics \usepackage{tikz-3dplot} %for 3dplot functionality \usepackage[active,tightpage]{preview} %generates a tightly fitting border around the work \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{2mm} \begin{document} \tdplotsetmaincoords{70}{135} \begin{tikzpicture}[line join=bevel,tdplot_main_coords, fill opacity=.7] \tdplotsphericalsurfaceplot[parametricfill]{72}{36}% {sqrt(15/2)*sin(\tdplottheta)*cos(\tdplottheta)}{black}{\tdplotphi}% {\draw[color=black,thick,->] (0,0,0) -- (2,0,0) node[anchor=north east]{$x$};}% {\draw[color=black,thick,->] (0,0,0) -- (0,2,0) node[anchor=north west]{$y$};}% {\draw[color=black,thick,->] (0,0,0) -- (0,0,2) node[anchor=south]{$z$};}% \end{tikzpicture} \end{document}
Completely testing!!!
reference:
1)http://www.ctan.org/tex-archive/graphics/pgf/contrib/tikz-3dplot/
2)http://blog.csdn.net/mathsoperator/article/details/6825010
相关文章推荐
- TeX系列: tikz-3dplot绘图宏包
- TeX系列: tikz-3dplot绘图宏包
- matplotlib绘图系列----3D曲面图与散点图
- TeX系列: tikz & pgf 宏包安装步骤
- TeX系列: matlab2tikz--matlab图形数据转化为tikz命令
- matplotlib基础教程-3D绘图(2)
- [初学笔记] matlab的 二维绘图 plot 和系列功能
- R绘图之scatterplot3d
- python科学计算学习二:matplotlib绘图(极坐标 3D绘图等)(3)
- matplotlib绘图(极坐标 3D绘图等)(3)
- python数据可视化系列教程——matplotlib绘图全解
- TeX系列: tikzDevice--把R的图形数据转化成tikz命令
- Matplotlib 绘图教程(3D)
- matplotlib——3D绘图教程
- python 3D绘图(matplotlib)中视角的改变
- matplotlib——3D绘图教程
- TeX系列: MATLAB和LaTeX结合绘图
- matplotlib——3D绘图教程
- TeX系列: MATLAB和LaTeX结合绘图
- 五、Matplotlib系列---pyplot的子绘图区域