[OS X TeX] Problem with geometry

Peter Dyballa Peter_Dyballa at Web.DE
Sat May 31 14:33:52 CEST 2008


Am 30.05.2008 um 14:59 schrieb Holger Schulz:

> \newcommand{\f}{1/400*x^3-3/20*x^2+3*x-8}
> \newcommand{\g}{1/400*x^3-3/20*x^2+3*x-22}
>
> [...]
> 	
> \psplot{10}{30}{\f}%f
> \psplot{10}{30}{\g}


What made you think PSTricks could understand this kind of written  
maths? AFAIR you need to enter PostScript commands, for example:

	x 3 exp 400 div x dup mul 3 mul 20 div sub x 3 mul add 22 sub

i.e. (x^3)/400 - x*x*3/20 + x*3 - 22


OTOH, it would be nice if PSTricks would understand non-PostScript  
maths ...

--
Mit friedvollen Grüßen

   Pete

When in doubt, use brute force.
				– Ken Thompson






More information about the macostex-archives mailing list