Discussion:
Help me fix wxplot2d and wxplot3d on windows
David Billinghurst
2012-05-25 03:33:16 UTC
Permalink
I understand that wxplot2d and wxplot3d are broken in maxima-5.27 for
windows. I'd like to fix this and make a new release, but I need some
help/guidance.

I think my move to gnuplot-4.6 broke something, and that this was fixed
by a patch to share/draw/draw.lisp.

I don't see any difference between the 5.26 and 5.27 windows releases.
The new draw.lisp file doesn't change things. For both I get

(%i1) wxplot2d([x], [x,-5,5])$
?wxxmltag("C:/Documents and Settings/dabilling/maxout_1.png","img")

What should I see? Are there any screenshots? Could I have messed up a
defaults file or something?

David
Mario Rodriguez
2012-05-25 12:57:24 UTC
Permalink
Post by David Billinghurst
I understand that wxplot2d and wxplot3d are broken in maxima-5.27 for
windows. I'd like to fix this and make a new release, but I need some
help/guidance.
I think my move to gnuplot-4.6 broke something, and that this was fixed
by a patch to share/draw/draw.lisp.
I don't see any difference between the 5.26 and 5.27 windows releases.
The new draw.lisp file doesn't change things. For both I get
(%i1) wxplot2d([x], [x,-5,5])$
?wxxmltag("C:/Documents and Settings/dabilling/maxout_1.png","img")
What should I see? Are there any screenshots? Could I have messed up a
defaults file or something?
David,

I have tested Maxima 5.27 on windows xp and your 'wxplot2d' example
works fine.

If I move the new files 'draw.lisp' and 'grcommon.lisp' to
folder /share/draw, then the wxdraw?d functions also work as expected.

I don't see any other problems.

Also note that changes in the draw package don't affect the plot?d
routines.

--
Mario
Luigi Marino
2012-05-25 14:06:43 UTC
Permalink
Mario
how I can have the new files:
draw.lisp and grcommon.lisp ?
Have you tested wxMaxima 5.27
on Windows Vista ?
Best wishes.
Luigi
Jaime Villate
2012-05-25 17:18:54 UTC
Permalink
Post by Luigi Marino
Have you tested wxMaxima 5.27
on Windows Vista ?
Luigi,
I will try to solve the problem; can you please try the following command:

plot2d (x, [x,0,1], [plot_format, gnuplot]);

and tell me:
1- did it work?
2- did a file maxout.gnuplot was created in your disk? (to know in which
directory of your
disk that file is supposed to be created, type in Maxima:
maxima_tempdir; )
3- are you able to execute gnuplot directly in your system?

Regards,
Jaime
Mario Rodriguez
2012-05-25 17:57:07 UTC
Permalink
Post by Luigi Marino
Mario
draw.lisp and grcommon.lisp ?
http://maxima.git.sourceforge.net/git/gitweb.cgi?p=maxima/maxima;a=blob_plain;f=share/draw/draw.lisp

http://maxima.git.sourceforge.net/git/gitweb.cgi?p=maxima/maxima;a=blob_plain;f=share/draw/grcommon.lisp


but these files will not solve your problems with plot?d. Try to follow
Jaime's instructions.
Post by Luigi Marino
Have you tested wxMaxima 5.27
on Windows Vista ?
No, never.

--
Mario

Ihor Rokach
2012-05-25 14:26:45 UTC
Permalink
David,

On my computer (Win XP SP3, 32-bit) both wxplot2d() and wxplot3d() work
without any problem with new gnuplot 4.6. I have used this version of the
gnuplot with previous wxMaxima 12.01 and maxima 5.26 without any problem
too.

With best wishes,
--
I.R.
Loading...