From: nijso b. <ni...@ho...> - 2018-06-20 13:50:13
|
I try the example for multiplot from the online maxima manual, and it gives me an error message. I have to interrupt with ctrl-g to go back to the maxima prompt. I can then continue and the plot is correct. Here is what I do http://maxima.sourceforge.net/docs/manual/maxima_52.html: load("draw"); set_draw_dset_draw_defaults( xrange = [-1,1], yrange = [-1,1], grid = true, title = "Step by step plot" )$ multiplot_mode(screen)$ draw2d(color=blue, explicit(x^2,x,-1,1))$ multiplot> unset output ^ "/tmp/maxout15863.gnuplot", line 36: you can't change the output in multiplot mode the gnuplot file generated: if(GPVAL_VERSION >= 5.0){set for [i=1:8] linetype i dashtype i; set format '%h'} set zero 0.0 set size 1.0, 1.0 set origin 0.0, 0.0 set size noratio set xrange [-1.0:1.0] set yrange [-1.0:1.0] set cbrange [*:*] unset logscale x unset logscale x2 unset logscale y unset logscale y2 unset logscale cb set grid xtics ytics mxtics mytics set mxtics 1 set mytics 1 set title 'Step by step plot' set xlabel '' set x2label '' set ylabel '' set y2label '' set border 15 set key top right unset xzeroaxis unset yzeroaxis unset x2tics set xtics nomirror set xtics norotate border autofreq unset y2tics set ytics nomirror set ytics norotate border autofreq set cbtics autofreq set colorbox set cblabel '' set palette rgbformulae 7,5,15 plot '/tmp/data20834.gnuplot' index 0 t '' w l lw 1 lt 1 lc rgb '#FF0000' axis x1y1 unset output This is for gnuplot 5.2, patchlevel 4, and maxima 5.41.0. I thought I had this working before, and I think in the meantime I've updated my gnuplot version, so this might be the problem. Can somebody confirm that this is working or not working for your version? Best, Nijso |