making simple plots and graphs

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

making simple plots and graphs

Postby Stu on Mon May 30, 2016 4:03 am

Other than what's in RainRpro, which came with Dyalog, is there a simple way to make multi-line plots? It looks like one could cobble together a plotting function using Poly. But with all the neat stuff that's already provided by Dyalog, it seems like some kind of plotting capability must already be in there somewhere. Or is there a graphing package I can get?
Stu
 
Posts: 97
Joined: Thu Dec 31, 2015 1:30 am

Re: making simple plots and graphs

Postby MBaas on Mon May 30, 2016 6:06 am

Which version of Dyalog are you using?
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: making simple plots and graphs

Postby PGilbert on Mon May 30, 2016 11:19 am

There is a demonstration workspace (v14.1) in the wiki that shows how to use Syncfusion controls (included with Dyalog) to make some curve fitting graphs while using WPF. You should be able to cut and paste what you need from that WS.
User avatar
PGilbert
 
Posts: 436
Joined: Sun Dec 13, 2009 8:46 pm
Location: Montréal, Québec, Canada

Re: making simple plots and graphs

Postby Stu on Mon May 30, 2016 5:24 pm

14.1
Stu
 
Posts: 97
Joined: Thu Dec 31, 2015 1:30 am

Re: making simple plots and graphs

Postby Stu on Mon May 30, 2016 6:31 pm

It looks like SyncFusion and WPF are powerful tools that an experienced APLer can use to good advantage. I'm still trying to get up to speed in Dyalog after learning "old" APL in the 1970's and using it then for a year or two. I'll try to figure out how to use SyncFusion, but for now the simple RainPro plots will have to do.

Thanks for the help.
Stu
 
Posts: 97
Joined: Thu Dec 31, 2015 1:30 am

Re: making simple plots and graphs

Postby MBaas on Tue May 31, 2016 8:50 am

Stu, it might be better to use SharpPlot (which comes with the 14.1-install) - which is sort of a successor to RainPro and equally easy to use.
User avatar
MBaas
 
Posts: 156
Joined: Thu Oct 16, 2008 1:17 am
Location: Gründau / Germany

Re: making simple plots and graphs

Postby Stu on Wed Jun 01, 2016 12:38 am

Sharp Plot does really look very nice. Thanks!

When I first installed 14.1, a message came up that said RainPro would no longer be supported. What wasn't clear (to me) was that Sharp Plot was already there.
Stu
 
Posts: 97
Joined: Thu Dec 31, 2015 1:30 am

Re: making simple plots and graphs

Postby Stu on Wed Jun 01, 2016 3:01 pm

The examples in the Sharp Plot docs all appear to be written in C++. Do you have a simple example written in APL? I think that would be enough to get me started.
Stu
 
Posts: 97
Joined: Thu Dec 31, 2015 1:30 am

Re: making simple plots and graphs

Postby Veli-Matti on Wed Jun 01, 2016 4:23 pm

Perhaps

)load sharprain

helps?
-wm
Veli-Matti
 
Posts: 93
Joined: Sat Nov 28, 2009 3:12 pm

Re: making simple plots and graphs

Postby Stu on Thu Jun 02, 2016 3:24 am

"sharprain" has lots of attractive examples, but no code as far as I can tell. All I need is one fully worked-out example, like the ones in the Object Reference Guide.
Stu
 
Posts: 97
Joined: Thu Dec 31, 2015 1:30 am

Next

Return to New to Dyalog?

Who is online

Users browsing this forum: No registered users and 1 guest