[pstricks] Radian scale
Herbert Voss
LaTeX at zedat.fu-berlin.de
Wed Mar 9 13:15:39 CET 2005
Vince McGarry wrote:
>I wrote the following crude switch which labeled either the x or y axis with
>some common radian measures I needed. The code worked fine in all of test
>files several weeks ago and I used it successfully to compile some graphs I
>needed for a published document, but I attempted to use it this evening and
>it failed. Perhaps there was something wrong with the original code I wrote.
>I wrote it as a style file since it will be part of a larger style I'm
>developing. Thanks for any help.
>
>
I think it may be easier to use the default scaling of the axis with 1,2,3,4
together with a switch
\ifcase#1
\or $\frac{\pi}{4}$ % 1
\or $\frac{\pi}{2}$ % 2
\or $\frac{3\pi}{4}$ % 3
....
...
\fi
Herbert
More information about the PSTricks
mailing list