Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages12>
Options
Go to last post Go to first unread
Offline uni  
#1 Posted : 23 May 2013 05:30:34(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
I think it's possible Yes

Links:
1. gnuplot homepage.
2. Demo Gallery.
3. Gnuplot in Action.

Edited by user 24 August 2019 06:30:43(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
thanks 1 user thanked uni for this useful post.
on 23/05/2013(UTC)

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline kilele  
#2 Posted : 23 May 2013 09:47:53(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
I thought that GnuPlot was licensed under GPL, but it seems to have its own license:
http://gnuplot.cvs.sourc...nuplot/gnuplot/Copyright
I don't know if this would allow to make open source plugins for a closed source software.

Edit:

Please, see Distribution terms

Edited by user 23 May 2013 11:27:32(UTC)  | Reason: Not specified

Offline kilele  
#3 Posted : 23 May 2013 11:33:44(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
so what do they mean by publishing a 'patch' from your modified version ?

Edited by user 23 May 2013 11:35:59(UTC)  | Reason: Not specified

Offline mkraska  
#4 Posted : 24 May 2013 17:17:34(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Gnuplot is definitely capable of producing high quality plots.
I prefer the text based interface over deep trees of options, where changing an axis limit requires 10 mouse clicks.
Perhaps just displaying an externally generated image as with the maple plot would be sufficient.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline kilele  
#5 Posted : 24 May 2013 20:46:44(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Originally Posted by: mkraska Go to Quoted Post

Perhaps just displaying an externally generated image as with the maple plot would be sufficient.


I already suggested Asymptote (LGPL)
http://asymptote.sourceforge.net/
I don't know if it would be possible to dump the data from C# via SMath and then use Asymptote language to render graphs.
thanks 1 user thanked kilele for this useful post.
on 24/05/2013(UTC)
Offline kilele  
#6 Posted : 25 May 2013 00:18:42(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
uni, if it is your intention to drive gnuplot via a pipe as in Octave, there wouldn't be any problem with the license.
sorry for the cofussion Good

Edited by user 25 May 2013 00:24:28(UTC)  | Reason: Not specified

Offline kilele  
#7 Posted : 25 May 2013 02:33:42(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
uni, please take a look at these wrappers for gnuplot:

Gnuplot.C#

Charting with Gnuplot from F#

Edited by user 25 May 2013 02:37:51(UTC)  | Reason: Not specified

thanks 1 user thanked kilele for this useful post.
on 25/05/2013(UTC)
Offline uni  
#8 Posted : 25 May 2013 03:28:13(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: kilele Go to Quoted Post
uni, please take a look at these wrappers for gnuplot:

Gnuplot.C#

Charting with Gnuplot from F#

Yes, I would do it exactly the same way. I need to think how to use it.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline mkraska  
#9 Posted : 25 May 2013 13:15:32(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Uni, I am looking forward to see gnuplot being operated from within SMath, even be it just as in maplewrapper by editing text and getting image display.

maple may have more functions for plotting but could not generally be recommended due to license issues.

Unfortunately, there seems to be no easy access from c# to matplotlib. Otherwise that would be a really good alternative.
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 25/05/2013(UTC)
Offline uni  
#10 Posted : 25 May 2013 14:08:18(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Martin, not so fast Acute
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 25/05/2013(UTC),  on 28/05/2013(UTC)
Offline uni  
#11 Posted : 02 June 2013 19:49:22(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: mkraska Go to Quoted Post
Unfortunately, there seems to be no easy access from c# to matplotlib. Otherwise that would be a really good alternative.

There is a way. Use a call to python as an external program. I can save image to a file and load it into SMath Studio (as for Maple Plot). But the end user must install Python itself and two libraries: mathplotlib and numpy. I've tried it, it basically works. This is the only way at the moment.

Edited by user 02 June 2013 19:54:10(UTC)  | Reason: Not specified

uni attached the following image(s):
Example.png
Russia ☭ forever
Viacheslav N. Mezentsev
thanks 2 users thanked uni for this useful post.
on 02/06/2013(UTC),  on 02/06/2013(UTC)
Offline Davide Carpi  
#12 Posted : 02 June 2013 20:16:16(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Python is widely used, it's not an insurmountable obstacle (I don't remember but it seems to me that Blender Portable use an embedded python, so the installation may be not necessary)


best regards and many thanks for these graphical plugins, Good

w3b5urf3r

Edited by user 02 June 2013 20:20:06(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline mkraska  
#13 Posted : 02 June 2013 20:31:34(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Originally Posted by: uni Go to Quoted Post
Originally Posted by: mkraska Go to Quoted Post
Unfortunately, there seems to be no easy access from c# to matplotlib. Otherwise that would be a really good alternative.

There is a way. Use a call to python as an external program. I can save image to a file and load it into SMath Studio (as for Maple Plot). But the end user must install Python itself and two libraries: mathplotlib and numpy. I've tried it, it basically works. This is the only way at the moment.


That looks good. Besides the mentioned install requirements there is perhaps no chance for interactive mouse control. Still better than maple, where there are license issues and the image quality is worse.
However, non-interactive graphics nowadays are suited for die-hard users and probably not accepted by normal users. Perhaps an option is to provide some sort of generic wrappers that provide comfortable access to basic plotting plus a scripting window.

Btw, how about Sympy? I don't now, if that outperforms mapleV, but it is free both as in beer and in speech.

Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline kilele  
#14 Posted : 03 June 2013 00:38:41(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Please see the last resources of this post :
http://en.smath.info/for...ers-plugin.aspx#post9615
As far as I know IronPython forms part of the .net environment so it might be possible to access Matplotlib, SimPy, NumPy and SciPy, with IronPython.

Edited by user 03 June 2013 01:21:00(UTC)  | Reason: Not specified

thanks 1 user thanked kilele for this useful post.
on 03/06/2013(UTC)
Offline uni  
#15 Posted : 03 June 2013 11:09:27(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: kilele Go to Quoted Post
Please see the last resources of this post :
http://en.smath.info/for...ers-plugin.aspx#post9615
As far as I know IronPython forms part of the .net environment so it might be possible to access Matplotlib, SimPy, NumPy and SciPy, with IronPython.

It may be possible, but very difficult. I still can't figure out how it can be obtained at the form of .Net assembly (dll).

Quote:
Btw, how about Sympy?

We can't use SymPy because its syntax is very different from the Maple. For example: diff( sin(x), x$2) (Maple), diff(diff(sin(x),x),x) (SMath Studio), sin(x).diff(x,x) (SymPy)
Russia ☭ forever
Viacheslav N. Mezentsev
Offline kilele  
#16 Posted : 03 June 2013 11:55:04(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Have you checked this specific tools for visualstudio ?
NumPy and SciPy for IronPython / .Net

As for IronPython in general, there seems to be some info in this tutorial:
http://ironpython.google.../ironpython-tutorial.pdf
search for "Connecting Python to .NET" within the pdf.

Another possibility to explore is ironlab

Edited by user 03 June 2013 12:00:49(UTC)  | Reason: Not specified

Offline uni  
#17 Posted : 03 June 2013 13:29:00(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
Originally Posted by: kilele Go to Quoted Post
Have you checked this specific tools for visualstudio ?
NumPy and SciPy for IronPython / .Net

As for IronPython in general, there seems to be some info in this tutorial:
http://ironpython.google.../ironpython-tutorial.pdf
search for "Connecting Python to .NET" within the pdf.

Another possibility to explore is ironlab

I downloaded and installed the extension for Visual Studio 2010. In the standard wizard the dll project can not be selected. In addition, the script will still run through command line utility.
Then I downloaded the book: Programmer to Programmer - Mueller J.P. - Professional IronPython [2010, PDF, ENG]
It describes a method of how to use the script inside the assembly - Chapter 14. Interacting with the DLR. Using this method it is possible to obtain a plugin in the form of one large assembly. But, its not so easy.

Edited by user 03 June 2013 13:32:23(UTC)  | Reason: Not specified

Russia ☭ forever
Viacheslav N. Mezentsev
Offline kilele  
#18 Posted : 03 June 2013 13:46:59(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Large, difficult ? how much ? I dont't know, maybe other plugin developers can give you their opinion ^^

Uni, now that you and Martin talk about symbolic engines, could you take a look at this one with LGPL license ?
Mathomatic
Maxima seems to have more features than Mathomatic but its GPL license is incompatible with Smath.
However you may be interested in seeing a way to access Maxima via commandline.
Offline uni  
#19 Posted : 03 June 2013 14:03:37(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
There is a problem with the use of third-party programs. They need to place their files as resources within the plugin. Now personally, I don't know how to do it for MapleWrapper. Therefore, you can't use it in the new version of SMath Studio until I handle this issue.

As for large and difficult. Similarly, you need to have IronPython within the plugin. In addition, there need to place libraries for the NumPy and mathplotlib. I don't know how to make it all work together. Here it is important to consider the version of each of the parts. That is why it is difficult.

Jasymca like me more. I think it can be made part of SMath Studio.
Russia ☭ forever
Viacheslav N. Mezentsev
Offline kilele  
#20 Posted : 03 June 2013 14:16:53(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Originally Posted by: uni Go to Quoted Post

Jasymca like me more. I think it can be made part of SMath Studio.


Yes, I mentioned Jasymca in this post.
I don't want to be a spoilsport but I think it was GPL licensed.

Users browsing this topic
Guest
2 Pages12>
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.