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


XYPlot. Examples.sm (30.04 KiB) downloaded 2834 time(s).
XYPlot. Examples.pdf (154.55 KiB) downloaded 2280 time(s).
XYPlot. Demo.sm (5.5 KiB) downloaded 1921 time(s).
XYPlot. Demo.pdf (45.63 KiB) downloaded 1557 time(s).
XYPlot. Text labels.sm (10.1 KiB) downloaded 1796 time(s).
XYPlot. Text labels.pdf (53.78 KiB) downloaded 1213 time(s).
XYPlot. Fill area.sm (10.03 KiB) downloaded 1688 time(s).
XYPlot. Fill area.pdf (84.35 KiB) downloaded 1107 time(s).
XYPlot. Draw shapes.sm (19.85 KiB) downloaded 2143 time(s).
XYPlot. Draw shapes.pdf (92.91 KiB) downloaded 1403 time(s).
XYPlot. Linear polar.sm (56.78 KiB) downloaded 1550 time(s).
XYPlot. Linear polar.pdf (134.78 KiB) downloaded 918 time(s).
3D plots in XY Plot plugin
pMesh.sm (244.1 KiB) downloaded 1612 time(s).
pMesh.pdf (3.04 MiB) downloaded 1244 time(s).
Functions for grids, meshes and plot surfaces. Support triangular meshes and multiple surfaces in the same plot.
pSurf.sm (315.64 KiB) downloaded 1368 time(s).
pSurf.pdf (2.2 MiB) downloaded 948 time(s).
Small piece of code for filled 2-D contour plot in the XY plot plugin.
FillContour.sm (34.45 KiB) downloaded 1493 time(s).
FillContour.pdf (306.44 KiB) downloaded 1044 time(s).
Note: '~' is used as a mark for the "range" variable and should only be used inside the X-Y Plot.


Links:
1. Dr. Xu's Books .
2. Creating charts & graphics without coding .


XYPlot. Examples.sm (30.04 KiB) downloaded 2834 time(s).
XYPlot. Examples.pdf (154.55 KiB) downloaded 2280 time(s).
XYPlot. Demo.sm (5.5 KiB) downloaded 1921 time(s).
XYPlot. Demo.pdf (45.63 KiB) downloaded 1557 time(s).
XYPlot. Text labels.sm (10.1 KiB) downloaded 1796 time(s).
XYPlot. Text labels.pdf (53.78 KiB) downloaded 1213 time(s).
XYPlot. Fill area.sm (10.03 KiB) downloaded 1688 time(s).
XYPlot. Fill area.pdf (84.35 KiB) downloaded 1107 time(s).
XYPlot. Draw shapes.sm (19.85 KiB) downloaded 2143 time(s).
XYPlot. Draw shapes.pdf (92.91 KiB) downloaded 1403 time(s).
XYPlot. Linear polar.sm (56.78 KiB) downloaded 1550 time(s).
XYPlot. Linear polar.pdf (134.78 KiB) downloaded 918 time(s).
3D plots in XY Plot plugin
pMesh.sm (244.1 KiB) downloaded 1612 time(s).
pMesh.pdf (3.04 MiB) downloaded 1244 time(s).
Functions for grids, meshes and plot surfaces. Support triangular meshes and multiple surfaces in the same plot.
pSurf.sm (315.64 KiB) downloaded 1368 time(s).
pSurf.pdf (2.2 MiB) downloaded 948 time(s).
Small piece of code for filled 2-D contour plot in the XY plot plugin.
FillContour.sm (34.45 KiB) downloaded 1493 time(s).
FillContour.pdf (306.44 KiB) downloaded 1044 time(s).
Note: '~' is used as a mark for the "range" variable and should only be used inside the X-Y Plot.

Links:
1. Dr. Xu's Books .
2. Creating charts & graphics without coding .
Russia ☭ forever, Viacheslav N. Mezentsev
17 users liked this post
Mark R Harris 2022/8/29 07:50:00, IVR 2013/7/13 05:09:00, Davide Carpi 2013/4/26 10:12:00, Fridel Selitsky 2013/4/26 10:29:00, Radovan Omorjan 2013/4/26 10:32:00, Infinity 2013/4/29 03:12:00, Andrey Ivashov 2021/9/22 08:49:00, Valery Ochkov 2025/10/29 15:15:21, Martin Kraska 2013/4/26 09:39:00, ruddy 2025/9/24 00:30:07, yajurito 2017/12/11 17:33:00, frapuano 2016/12/3 09:11:00, ioan92 2025/5/25 13:21:50, Oscar Campo 2013/4/26 09:38:00, maria 2025/5/2 03:56:13, sergio 2024/1/13 04:42:00, zoom 2016/1/17 17:14:00
Здорово!
I tried some functions (typed to the placeholder):
x - nothing happens
sin(x) - works
ln(x) - crash (perhaps due to undefined values)
any undefined function - crash
previously defined function returning a list - GUI freeze
I tried some functions (typed to the placeholder):
x - nothing happens
sin(x) - works
ln(x) - crash (perhaps due to undefined values)
any undefined function - crash
previously defined function returning a list - GUI freeze
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
Nice work uni
A way could be to use context menu items (see ConstructorRegion plugin by Andrey)... also the Mathcad mode it's quite interesting...
you can post the plugin code?
WroteYou can change only the function for now. Need to figure out a way how to pass parameters to display the graph or do it like in Mathcad.
A way could be to use context menu items (see ConstructorRegion plugin by Andrey)... also the Mathcad mode it's quite interesting...
you can post the plugin code?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
This is a long time waiting feature and I think we are all excited about it
Good luck uni
Radovan
EDIT: I tried it a bit in a "faulty" Mono in Xubuntu. It si working initially although with crashes as Martin mentioned
Good luck uni
Radovan
EDIT: I tried it a bit in a "faulty" Mono in Xubuntu. It si working initially although with crashes as Martin mentioned
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
The code is taken from this book:

C# Application Series - Xu J. - Practical C# Charts and Graphics [2007, PDF, ENG] (link, rus).
I have something removed and added something to get the plugin. I added sources.
mkraska, not so fast
Try some number.
C# Application Series - Xu J. - Practical C# Charts and Graphics [2007, PDF, ENG] (link, rus).
I have something removed and added something to get the plugin. I added sources.
mkraska, not so fast
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
thank you very much uni!
please look at this post:
http://en.smath.info/forum/yaf_postsm9105_Plots-improvements.aspx#post9105
ZedGraph is c# targeting .net20 so it should work both in windows and linux.
please look at this post:
http://en.smath.info/forum/yaf_postsm9105_Plots-improvements.aspx#post9105
ZedGraph is c# targeting .net20 so it should work both in windows and linux.
Thank you uni.
This is long overdue.
As you develop it, please have in mind the basic form of axes: Lin-Lin, Lin-Log, Log-Log.
Basile
This is long overdue.
As you develop it, please have in mind the basic form of axes: Lin-Lin, Lin-Log, Log-Log.
Basile
Radovan,
How did you put graph title and axis titles? and axes greater than 1.
Thank you,
Basile
How did you put graph title and axis titles? and axes greater than 1.
Thank you,
Basile
Updated. Form formatting is added to the context menu. Changes take effect after the recalculation. You can use system for several functions but be careful (not tested yet).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
Hello Basile
I did nothing else just put a number in the function placeholder, as uni said. It seems that uni just put this example just as a test at the moment.
Lots of user feedback in quite a short time shows that we are very interested in this plugin. It seems that we need to have some more patience until the very appreciated plugin like this become more stable
, and than to test it more carefully
Regards,
Radovan
WroteHow did you put graph title and axis titles? and axes greater than 1.
I did nothing else just put a number in the function placeholder, as uni said. It seems that uni just put this example just as a test at the moment.
Lots of user feedback in quite a short time shows that we are very interested in this plugin. It seems that we need to have some more patience until the very appreciated plugin like this become more stable
Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
WroteLast update: XYPlotRegion_20130427.zip
You can change only the function for now. Need to figure out a way how to pass parameters to display the graph or do it like in Mathcad.
Sources: https://smath.info/svn/public/plugins/XYPlotRegion/
5 users liked this post
sergio 2013/4/27 09:25:00, Martin Kraska 2013/4/28 03:04:00, Davide Carpi 2013/4/27 06:43:00, Radovan Omorjan 2013/4/27 07:07:00, Fridel Selitsky 2013/4/27 07:16:00
Thanks.
The traces & Number Format function is not working for me (Win 7 64 Bit).
The traces & Number Format function is not working for me (Win 7 64 Bit).
WroteUpdated.
The last update seems to focus on handling lists of plots. The plugin seems to be under heavy construction.
For plotting functions, the xyplotrregion just evaluates the name, without caring for the argument, therefore plotting pure expressions just as x or x^2 fails.
Also, numbers must be pure numbers, not expressions that can be evaluated to numbers.
I guess that the built-in demo shows sort of development target. It would be interesting to know if expression input for plot items and range limits including unit handling are on the agenda. Anwyway, I am looking forward to the next release.
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
2 users liked this post
Wrote
Updated.
Crashing xyplot:
- loading documents created with earlier versions of the plugin
- expressions evaluating to lists but not being lists (e.g. [MATH]±1[/MATH])
Not crashing xyplot:
- using units
empty placeholder produces a line y=x
Is using limit expressions including units (perhaps using placeholders as in old mathcad) on the agenda?

Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Вячеслав Мезенцев 2013/4/28 10:08:00
There is only one placeholder, so I can enter only the expression and nothing more. I don't know whether it is possible to add more placeholders. Limits for the graphs need to be set explicitly (in the formatting dialog).
Russia ☭ forever, Viacheslav N. Mezentsev
Could global variables be an option?
The user might define or display values of settings like
XYPlot.xmin:0
XYPlot.xmax:3'm -> this would give the independent variable a unit
XYPlot.ymin:0
XYPlot.ymax:"auto" (auto-scaling)
XYPlot.xaxis:"log" or "lin"
XYPlot.title:num2str(n)
XYPlot.xtics:0,5*'m
etc. This would be quite transparent and readable, but could be hidden in collapsable regions if required.
Settings in the context menu might change or override the variable values or restore them to defaults.
Units could be automatically added to the default axis label if appropriate. You could, however, leave proper annotation in the user's responsibility.
Sticking to some naming convention (e.g. gnuplot) would facilitate the usage.
The user might define or display values of settings like
XYPlot.xmin:0
XYPlot.xmax:3'm -> this would give the independent variable a unit
XYPlot.ymin:0
XYPlot.ymax:"auto" (auto-scaling)
XYPlot.xaxis:"log" or "lin"
XYPlot.title:num2str(n)
XYPlot.xtics:0,5*'m
etc. This would be quite transparent and readable, but could be hidden in collapsable regions if required.
Settings in the context menu might change or override the variable values or restore them to defaults.
Units could be automatically added to the default axis label if appropriate. You could, however, leave proper annotation in the user's responsibility.
Sticking to some naming convention (e.g. gnuplot) would facilitate the usage.
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Radovan Omorjan 2013/6/3 07:24:00
- New Posts
- No New Posts





