X-Y Plot Region

X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - Messages

#141 Posted: 5/26/2013 7:40:37 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Wrote

Hello Martin,
I had mistakenly understood that the problem is on the plot ' geometries '
It was working fine
now trying on "spannungen" plot, I have the same problem
I apologize
Sergio



That was not mistakenly. In fact I can reproduce the problem with my uploaded file on both plots. And I can confirm that Radovans version works fine here. Unless I hide the input area and save and re-open the file. Saving the file with visible input regions seems to be safe.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Radovan Omorjan 5/26/2013 7:51:00 AM
#142 Posted: 5/26/2013 8:23:18 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Andrey said that will fix this in the next version.
Russia ☭ forever, Viacheslav N. Mezentsev
#143 Posted: 5/26/2013 9:11:13 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Wrote

Andrey said that will fix this in the next version.


I think there is nothing wrong if we forget and repeat the things . As I become older the frequency of my forgetting things is increasing

By the way, what about introducing some kind of "bugzilla" thing in order to keep tracking of bugs? I am not sure about it, and it seems that this Forum is still good enough for this.

Regards,
Radovan

When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
ioan92 5/26/2013 9:26:00 AM
#144 Posted: 5/26/2013 9:23:32 AM
Mike Kaganski

Mike Kaganski

184 likes in 434 posts.

Group: User

Just wanted to congratulate omorr with 100 thanks Note this number - it will surely soon be not so round!
С уважением, Михаил Каганский
1 users liked this post
Radovan Omorjan 5/26/2013 10:56:00 AM
#145 Posted: 5/26/2013 9:45:31 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

This issue related not only for X-Y Plot but for all regions which have placeholder. I would like to clarify that people are not confused.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Radovan Omorjan 5/26/2013 10:54:00 AM
#146 Posted: 6/1/2013 1:25:43 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

[albumimg]187[/albumimg]
XY Plot. Example 5.sm (9 KiB) downloaded 152 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Martin Kraska 6/1/2013 2:33:00 PM
#147 Posted: 6/1/2013 2:37:43 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Wrote

[albumimg]187[/albumimg]


Nice trick uni , thank you

[albumimg]188[/albumimg]

It could have been done with bar graphs as well. I think there is no this type of graph implemented yet, neither in X-Yplot nor ZedGraph.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 users liked this post
Davide Carpi 6/1/2013 5:26:00 AM
#148 Posted: 6/1/2013 2:34:40 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Slightly off-topic, as no xy-plot involved...
hatch.sm (12 KiB) downloaded 136 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
3 users liked this post
ioan92 6/1/2013 3:28:00 PM, Fridel Selitsky 6/1/2013 7:23:00 PM, Davide Carpi 6/1/2013 3:59:00 PM
#149 Posted: 6/1/2013 4:02:40 PM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

Wrote

Slightly off-topic, as no xy-plot involved...



I think could be posted as a snippet, very nice stuff
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Fridel Selitsky 9/21/2013 2:54:00 AM
#150 Posted: 6/3/2013 6:49:07 AM
kilele

kilele

133 likes in 397 posts.

Group: User

@Uni

This .Net2.0 LGPL library could be useful for your plugin.
Johns Hope's FPlot
The download includes the program as well as the library.
It permorms plotting and fitting of measurement data and mathematical functions (Levenberg-Marquardt and Nelder & Mead fitting).
It has nice interactive features (zoom and trace) and an interesting user interface.
3 users liked this post
Radovan Omorjan 6/3/2013 7:24:00 AM, Вячеслав Мезенцев 6/3/2013 7:53:00 AM, ioan92 6/3/2013 1:50:00 PM
#151 Posted: 6/7/2013 6:27:58 PM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Version 4906.20018 of XYPlot fails to install on my system (portable 4902). Error message says: plugin deactivated. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

How can I do that?
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
ioan92 6/8/2013 1:38:00 AM, Radovan Omorjan 6/8/2013 2:42:00 AM
#152 Posted: 6/12/2013 10:09:41 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Updated. Added support for scripts (for testing).

chart2D.C2Points = `::Points`
chart2D.C2XAxis.XLimMin = `::x.min`
chart2D.C2XAxis.XLimMax = `::x.max`

[albumimg]214[/albumimg]
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
IVR 6/12/2013 10:41:00 AM
#153 Posted: 6/14/2013 9:48:55 PM
kilele

kilele

133 likes in 397 posts.

Group: User

scripting in python!!
are you using pythonnet or ironpython or maybe py2exe ?
#154 Posted: 6/15/2013 7:02:26 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

I use Iron Python. But the use of SciPy or NumPy is still a difficult task.
Russia ☭ forever, Viacheslav N. Mezentsev
#155 Posted: 6/15/2013 7:47:23 AM
kilele

kilele

133 likes in 397 posts.

Group: User

Nice! ironclad for NumPy might be of help though it is only for 32bit platforms for now.
http://new.scipy.org/faq.html#does-numpy-scipy-work-with-ironpython-net

I had thought about the possibility of Jython and then port jar to dll with IKVM but seems it was too utopical and simply does not work.
This brings me to the lushful idea about porting Jasymca with IKVM or following these Microsoft guidelines.
http://msdn.microsoft.com/en-us/library/c6t6bsdk%28VS.80%29.aspx
#156 Posted: 7/21/2013 6:32:02 AM
philippe dalet

philippe dalet

18 likes in 34 posts.

Group: User

Hi

I'm trying to build your plugin XYPlotRegion with monodevelop 4.0 on ubuntu 13.04 and SMathStudio 0.96.4909


PluginRegion.cs:


public class PluginRegion : IPluginCustomRegion {

PluginRegion.cs(18,18): Error CS0535: `XYPlotPlugin.PluginRegion' does not implement interface member `SMath.Control.IPluginCustomRegion.TagName.get' (CS0535) (XYPlotRegion)


I have the same error with 3DPlotRegion plugin

Do you know this error ? I'm not a specialist of C#.

Philippe DALET

FRANCE
#157 Posted: 7/21/2013 8:51:31 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Hi, Philippe!

Yes, I know what the problem is. I think the sources are out of date. Unfortunately, I can't update it now. But you can solve this problem by adding few lines of code (use the latest dlls from SMath Studio: canvas.dll, ioman.dll, NuLib.dll and SyLib.dll).

namespace XYPlotPlugin {

public class PluginRegion : IPluginCustomRegion {

#region Private fields

string tagName = "xyplot";

AssemblyInfo[] dependences;
MenuButton[] menuButtons;
DragAndDropFileType[] dragAndDropFileTypes;

#endregion

#region Члены IPluginCustomRegion

public string TagName {

get { return tagName; }
}
Russia ☭ forever, Viacheslav N. Mezentsev
#158 Posted: 7/22/2013 6:45:17 PM
philippe dalet

philippe dalet

18 likes in 34 posts.

Group: User

Thanks a lot.

That seems working on Ubuntu 12.04.

http://sourceforge.net/projects/pcpu/files/SmathStudio/smathstudio_0.96.4909_i386.deb/download

Philippe
#159 Posted: 9/21/2013 3:26:46 AM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

Wrote

Wrote

Slightly off-topic, as no xy-plot involved...


To reduce the computation time of function fil2 can change the first line of the program

hatch.sm (11 KiB) downloaded 91 time(s).
1 users liked this post
Martin Kraska 9/21/2013 5:02:00 AM
#160 Posted: 9/21/2013 5:04:05 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator

Fridel, thanks for revisiting the snippet and the performance issue. Quite odd for me: The fastest way seems to be direct element adressing without pre-allocation and avoiding stack(). See attachment. The speed-up is significant.

Please post any response to the new dedicated topic

Snippet and examples are updated in the online gallery of the extension manager.
2DPlots with hatch and fill.sm (18 KiB) downloaded 116 time(s).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Fridel Selitsky 9/21/2013 5:50:00 AM
  • New Posts New Posts
  • No New Posts No New Posts