OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: froonk on October 28, 2005, 01:15:23 pm

Title: Gnuplot
Post by: froonk on October 28, 2005, 01:15:23 pm
Hi everyone,
I use gnuplot on my Z5500. If I write 'plot x**2' it plots a line at y=2.
I guess the ** operator does not work properly. I've not tested every operator so far, but I know that 2*x works. Does anyone share this experience?
Thanks in advance.
Title: Gnuplot
Post by: lardman on October 29, 2005, 06:55:21 am
Try 'plot x^2', the syntax for gunplot may be different.

This sounds like a gnuplot syntax issue rather than something specific to the Zaurus.


Si
Title: Gnuplot
Post by: froonk on October 31, 2005, 04:37:20 am
Quote
Try 'plot x^2', the syntax for gunplot may be different.

This sounds like a gnuplot syntax issue rather than something specific to the Zaurus.

thanks for your reply, lardman.
'plot x^2' returned 'non-integer passed to boolean operator'.
'^' is the operator for bitwise or, which makes sense to me with the error message above.
I thought it could be a zaurus issue, because I read somewhere, that strongARM processors do not know floating-point instructions (correct me if I'm wrong, I don't really know anything about the ARM-Architecture, or what would happen, if one is compiling c-code that is meant to run on another arch.).
Also, I have now noticed that the problem occurs also with exp() and (therefor?) with sine and cosine.
Title: Gnuplot
Post by: lardman on October 31, 2005, 06:28:50 am
Interesting. There should be no issue regarding fp as this is emulated.

Is this the version of gnuplot from the OZ feed?


Si
Title: Gnuplot
Post by: froonk on November 01, 2005, 01:01:14 pm
No, it's not. I'm using opie 3.5.2, I didn't find gnuplot there. I now saw that there is gnuplot in the 3.5.3 feed, I will install 3.5.3 and use the gnuplot from the OZ feed as soon as I have a little more time.
Title: Gnuplot
Post by: Tehas on November 02, 2005, 07:49:50 pm
This isn't exactly the same thing but I'm using QTPlot on both my 6000 & 5600 machines.  With it, x**2 gives you a plot of X squared.
Title: Gnuplot
Post by: lardman on November 03, 2005, 06:51:12 am
I imagine the problem was caused because the gnuplot binary in question is not built for soft-float.


Si