[pstricks] Package Recommendation based on Sketch
Niklas Nawrath
NiklasNawrath at gmx.de
Fri May 10 18:24:19 CEST 2013
Hi Christian,
I would recommend to use multido. With this package and \rput you can
define each element once and then put is as often as needed.
But you have to care about variables and increments. They have to have
the same amount of decimal units. so 1.00 + 0.25 is possible, but not
1+0.25.
I would not use any 3D stuff. Only do it in 2D. The connecting lines are
made by hand easily i think.
Niklas
Here is a example I made in 5 minutes:
\documentclass{scrartcl}
\usepackage{auto-pst-pdf}
\usepackage{multido}
\begin{document}
\begin{pspicture}
\multido{\nC=0.0+5.0}{3}{
\rput(\nC,0){
\psframe(-1,-1.5)(0,-0.5)\psline(0,-1.5)(2.5,3.5)
}
\multido{
\nA=0.25+1.00,\nB=\nC+0.5}{4}{\pscircle(\nB,\nA){0.25}
}
}
\end{pspicture}
\end{document}
Am 10.05.2013 17:24, schrieb Christian Häger:
> Hello Everyone,
>
> This is a "soft" question. I want to convert the following sketch to a nice pstricks figure: https://dl.dropboxusercontent.com/u/42816591/sketch.JPG
>
> Basically, I was wondering if you could give me some advice on which packages I should look into to efficiently draw this. Do I need to look into 3D packages or is this overkill? For example I am unsure about how to realize the node connection in 3D. Any help would be greatly appreciated! Thanks!
>
> Christian
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>
More information about the PSTricks
mailing list