Discussion:
[Maxima-discuss] secondary labels
Martin Kraska
2014-11-15 12:07:26 UTC
Permalink
Hello,



in the draw package commit messages I found that labels for secondary axes
were implemented. However, it seems that these don't work and they do not
appear in the documentation (tried with win 5.34.1)







The maxima command generated in the above screenshot is:

draw2d([background_color="#fefefe",file_name="C:/Users/Kraska/AppData/Roamin
g/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/ouve
doys",terminal=svg,user_preamble=["set term svg fsize 8 fname 'Arial'
noenhanced dynamic size 300,240","set encoding
iso_8859_2"],explicit(sin(x),x,0,%pi),line_type=dashes,yaxis_secondary=true,
explicit(%e^x,x,0,%pi),ytics_secondary=true,ylabel_secondary=true]);



when changing draw2d to wxdraw2d in wxmaxima I get the same error message.





Best regards, Martin Kraska
Mario Rodriguez
2014-11-15 12:51:33 UTC
Permalink
Post by Martin Kraska
Hello,
in the draw package commit messages I found that labels for secondary
axes were implemented. However, it seems that these don’t work and
they do not appear in the documentation (tried with win 5.34.1)
draw2d([background_color="#fefefe",file_name="C:/Users/Kraska/AppData/Roaming/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/ouvedoys",terminal=svg,user_preamble=["set
term svg fsize 8 fname 'Arial' noenhanced dynamic size 300,240","set
encoding
iso_8859_2"],explicit(sin(x),x,0,%pi),line_type=dashes,yaxis_secondary=true,explicit(%e^x,x,0,%pi),ytics_secondary=true,ylabel_secondary=true]);
when changing draw2d to wxdraw2d in wxmaxima I get the same error message.
Best regards, Martin Kraska
Works for me with current repository version. The documentation is also
in the info files.

--
Mario
Gunter Königsmann
2014-11-15 15:00:38 UTC
Permalink
Works for me, too.

What gnuplot version are you using and what is your

build_info();

?

Kind regards,

Gunter.
Post by Mario Rodriguez
Post by Martin Kraska
Hello,
in the draw package commit messages I found that labels for secondary
axes were implemented. However, it seems that these don’t work and
they do not appear in the documentation (tried with win 5.34.1)
draw2d([background_color="#fefefe",file_name="C:/Users/Kraska/AppData/Roaming/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/ouvedoys",terminal=svg,user_preamble=["set
term svg fsize 8 fname 'Arial' noenhanced dynamic size 300,240","set
encoding
iso_8859_2"],explicit(sin(x),x,0,%pi),line_type=dashes,yaxis_secondary=true,explicit(%e^x,x,0,%pi),ytics_secondary=true,ylabel_secondary=true]);
when changing draw2d to wxdraw2d in wxmaxima I get the same error message.
Best regards, Martin Kraska
Works for me with current repository version. The documentation is
also in the info files.
--
Mario
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Maxima-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/maxima-discuss
Martin Kraska
2014-11-15 16:46:33 UTC
Permalink
Forwarded to the mailing list…

Von: Martin Kraska [mailto:***@fh-brandenburg.de]
Gesendet: Samstag, 15. November 2014 17:07
An: 'Gunter Königsmann'
Betreff: AW: [Maxima-discuss] secondary labels



I re-installed maxima but that did not help:



build_info(version="5.34.1",timestamp="2014-11-11
09:57:09",host="i686-pc-mingw32",

lisp_name="GNU Common Lisp (GCL)",lisp_version="GCL 2.6.11")



wxdraw2d([explicit(sin(x),x,0,%pi),

line_type=dashes,yaxis_secondary=true,explicit(%e^x,x,0,%pi),

ytics_secondary=true,ylabel_secondary="y_2"]);



draw: unknown option ylabel_secondary

-- an error. To debug this try: debugmode(true);



Von: Gunter Königsmann [mailto:***@peterpall.de]
Gesendet: Samstag, 15. November 2014 16:01
An: maxima-discuss
Betreff: Re: [Maxima-discuss] secondary labels



Works for me, too.

What gnuplot version are you using and what is your

build_info();

?

Kind regards,

Gunter.

On 15.11.2014 13:51, Mario Rodriguez wrote:



El 15/11/14 a las 13:07, Martin Kraska escribió:

Hello,



in the draw package commit messages I found that labels for secondary axes
were implemented. However, it seems that these don’t work and they do not
appear in the documentation (tried with win 5.34.1)



The maxima command generated in the above screenshot is:

draw2d([background_color="#fefefe",file_name="C:/Users/Kraska/AppData/Roamin
g/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/ouve
doys",terminal=svg,user_preamble=["set term svg fsize 8 fname 'Arial'
noenhanced dynamic size 300,240","set encoding
iso_8859_2"],explicit(sin(x),x,0,%pi),line_type=dashes,yaxis_secondary=true,
explicit(%e^x,x,0,%pi),ytics_secondary=true,ylabel_secondary=true]);



when changing draw2d to wxdraw2d in wxmaxima I get the same error message.





Best regards, Martin Kraska



Works for me with current repository version. The documentation is also in
the info files.

--
Mario










----------------------------------------------------------------------------
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111
<http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktr
k> &iu=/4140/ostg.clktrk
Martin Kraska
2014-11-15 16:54:32 UTC
Permalink
I forgot to mention the gnuplot version: 4.6 patchlevel 6 (as included in
the win installer)





Von: Gunter Königsmann [mailto:***@peterpall.de]
Gesendet: Samstag, 15. November 2014 16:01
An: maxima-discuss
Betreff: Re: [Maxima-discuss] secondary labels



Works for me, too.

What gnuplot version are you using and what is your

build_info();

?

Kind regards,

Gunter.

On 15.11.2014 13:51, Mario Rodriguez wrote:



El 15/11/14 a las 13:07, Martin Kraska escribió:

Hello,



in the draw package commit messages I found that labels for secondary axes
were implemented. However, it seems that these don’t work and they do not
appear in the documentation (tried with win 5.34.1)





The maxima command generated in the above screenshot is:

draw2d([background_color="#fefefe",file_name="C:/Users/Kraska/AppData/Roamin
g/SMath/extensions/plugins/44011c1e-5d0d-4533-8e68-e32b5badce41/GnuPlot/ouve
doys",terminal=svg,user_preamble=["set term svg fsize 8 fname 'Arial'
noenhanced dynamic size 300,240","set encoding
iso_8859_2"],explicit(sin(x),x,0,%pi),line_type=dashes,yaxis_secondary=true,
explicit(%e^x,x,0,%pi),ytics_secondary=true,ylabel_secondary=true]);



when changing draw2d to wxdraw2d in wxmaxima I get the same error message.





Best regards, Martin Kraska



Works for me with current repository version. The documentation is also in
the info files.

--
Mario











----------------------------------------------------------------------------
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111
<http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktr
k> &iu=/4140/ostg.clktrk
Gunter Königsmann
2014-11-17 08:10:06 UTC
Permalink
On my maxima on windows (installed from the installer from maxima.sf.net) ytics_secondary works fine while the latest maxima release seems to have been made before ylabel_secondary has been added to the code.

Kind regards,

Gunter.
Post by Martin Kraska
I forgot to mention the gnuplot version: 4.6 patchlevel 6 (as
included in the win installer)
Martin,
You can download the current version of 'draw' and place it in your
local folder (maxima/share/draw), and let us know if it solves your
problems.
Don't forget to remove the binaries automatically created the first
time
you loaded draw.
Some changes have been made recently and I can't say if they are
included in the Windows binary.
--
Mario
--
Diese Nachricht wurde von meinem Mobiltelefon mit Kaiten Mail gesendet.
Martin Kraska
2014-11-22 15:19:26 UTC
Permalink
Mario,



thanks for the answer.



Updating grcommon.lisp and gnuplot.lisp did the trick.



Martin




Martin,

You can download the current version of 'draw' and place it in your local
folder (maxima/share/draw), and let us know if it solves your problems.

Don't forget to remove the binaries automatically created the first time you
loaded draw.

Some changes have been made recently and I can't say if they are included in
the Windows binary.

--
Mario

Loading...