[pstricks] Re: Hyperbolas
Jacques L'helgoualc'h
lhh+nospam at free.fr
Wed Feb 9 22:20:52 CET 2005
Herbert Voss a écrit, mercredi 9 février 2005, à 20:11 :
[...]
> it maybe a good idea to gave a \hyperbola with an optional
> origin:
>
> \def\psthyperbola{\pst at object{psthyperbola}}
> \def\psthyperbola at i{\@ifnextchar({\psthyperbola at ii}{\psthyperbola at ii(0,0)}}
> \def\psthyperbola at ii(#1,#2)#3#4{
> ...
Thanks!
> then we can have something like
> \psthyperbola[linecolor=blue]{1}{3 sqrt}% a b
> \psthyperbola[linecolor=blue](1,-1){1}{3 sqrt}% a b
Simpler than \rput :)
--
Jacques L'helgoualc'h
More information about the PSTricks
mailing list