Gnuplot Region

Gnuplot Region - 🚧 Not yet available - Сообщения

#1 Опубликовано: 22.05.2013 22:30:34
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

I think it's possible

Links:
1. gnuplot homepage.
2. Demo Gallery.
3. Gnuplot in Action.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Radovan Omorjan 23.05.2013 04:22:00
#2 Опубликовано: 23.05.2013 02:47:53
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

I thought that GnuPlot was licensed under GPL, but it seems to have its own license:
http://gnuplot.cvs.sourceforge.net/gnuplot/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
#3 Опубликовано: 23.05.2013 04:33:44
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

so what do they mean by publishing a 'patch' from your modified version ?
#4 Опубликовано: 24.05.2013 10:17:34
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

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://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#5 Опубликовано: 24.05.2013 13:46:44
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

Wrote


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.
1 пользователям понравился этот пост
#6 Опубликовано: 24.05.2013 17:18:42
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

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
#7 Опубликовано: 24.05.2013 19:33:42
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

uni, please take a look at these wrappers for gnuplot:

Gnuplot.C#

Charting with Gnuplot from F#
1 пользователям понравился этот пост
#8 Опубликовано: 24.05.2013 20:28:13
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

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
#9 Опубликовано: 25.05.2013 06:15:32
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

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://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
#10 Опубликовано: 25.05.2013 07:08:18
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Martin, not so fast
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Martin Kraska 25.05.2013 08:06:00, Davide Carpi 28.05.2013 04:13:00
#11 Опубликовано: 02.06.2013 12:49:22
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

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.

Показать спойлер


Example.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 пользователям понравился этот пост
Davide Carpi 02.06.2013 13:17:00, Martin Kraska 02.06.2013 13:05:00
#12 Опубликовано: 02.06.2013 13:16:16
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: Moderator

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,

w3b5urf3r
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#13 Опубликовано: 02.06.2013 13:31:34
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Wrote

Wrote

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://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#14 Опубликовано: 02.06.2013 17:38:41
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

Please see the last resources of this post :
http://en.smath.info/forum/yaf_postsm9615_ODESolvers-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.
1 пользователям понравился этот пост
Radovan Omorjan 02.06.2013 17:53:00
#15 Опубликовано: 03.06.2013 04:09:27
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

Please see the last resources of this post :
http://en.smath.info/forum/yaf_postsm9615_ODESolvers-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).

Цитата

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
#16 Опубликовано: 03.06.2013 04:55:04
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

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.googlecode.com/svn-history/r62/trunk/tutorial/tutorial/ironpython-tutorial.pdf
search for "Connecting Python to .NET" within the pdf.

Another possibility to explore is ironlab
#17 Опубликовано: 03.06.2013 06:29:00
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Wrote

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.googlecode.com/svn-history/r62/trunk/tutorial/tutorial/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.
Russia ☭ forever, Viacheslav N. Mezentsev
#18 Опубликовано: 03.06.2013 06:46:59
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

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.
#19 Опубликовано: 03.06.2013 07:03:37
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

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
#20 Опубликовано: 03.06.2013 07:16:53
kilele

kilele

133 сообщений из 397 понравились пользователям.

Группа: User

Wrote


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.

  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений