2D-Plot, Settings

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...
Post Reply
Leo
Posts: 38
Joined: Mon Sep 18, 2017 12:10 pm

2D-Plot, Settings

Post by Leo »

Hello DyalogAPL friends,

I'm new to DyalogAPL and try to work with the book Mastering Dyalog APL by Bernard Legrand in DyalogAPL.
At the moment, I'm working on Chapter S: Publishing Tools and trying to find the secrets to creating 2D plots using the features contained in rainpro.dws.
For example, the function Glossary of the workspace rainpro.dws begins with the statements:

      r←Glossary;hm;vm
⍝ Shows some basic concepts, such as chart area and margins
ch.Set('style' 'boxed,xyplot,grid')('head' 'This is the Heading')
ch.Set('mark' 13)('line' 'dash')('Colour' 'blue')…

My first question relates to e.g. the statement:
      ch.Set('style' 'boxed,xyplot,grid')('head' 'This is the Heading')
I guess the key words contained in this statement
      ('style' 'boxed,xyplot,grid')
are default settings.
How can I change the default settings in the namespace function ch.Set?

Second Question:
The namespace function #.Ch.Set is in Function Glossary included.
The help code in #.Ch.Set is ctx#620.
Where can I find the help codes, e.g. ctx#620, ctx#500, ctx#530,…..

For your hints, I thank you in advance!

Best regards
Vince|Dyalog
Posts: 439
Joined: Wed Oct 01, 2008 9:39 am

Re: 2D-Plot, Settings

Post by Vince|Dyalog »

Hi Leo,

I think the ch.Set('style' 'boxed,xyplot,grid') is setting the style property of that chart to boxed, xyplot, and grid.

RainPro is not actively developed or supported anymore and has been replaced by SharpPlot.

You can find help at sharpplot.com, or by looking at the sharpplot.chm in a help subdirectory in your Dyalog installation folder.

Regards,

Vince
Leo
Posts: 38
Joined: Mon Sep 18, 2017 12:10 pm

Re: 2D-Plot, Settings

Post by Leo »

Hello Vince,

thank you very much for having put me on the right track.

Best regards
Leo
Post Reply