2D-Plot, Settings

Learning APL or new to Dyalog? Ask "silly" questions here, without fear...

2D-Plot, Settings

Postby Leo on Fri Sep 29, 2017 12:13 pm

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
Leo
 
Posts: 38
Joined: Mon Sep 18, 2017 12:10 pm

Re: 2D-Plot, Settings

Postby Vince|Dyalog on Wed Oct 04, 2017 12:40 pm

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
Vince|Dyalog
 
Posts: 412
Joined: Wed Oct 01, 2008 9:39 am

Re: 2D-Plot, Settings

Postby Leo on Thu Oct 05, 2017 3:00 pm

Hello Vince,

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

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


Return to New to Dyalog?

Who is online

Users browsing this forum: No registered users and 1 guest