X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - Messages
WroteAre these indecent lines result for same kind of problem?
No, this problem is related to the drawing algorithm. This algorithm skips points that cannot be drawn. It doesn't always work correctly at the end of lines. I am aware of this and have not yet found the time to rewrite the algorithm to be more universal.
Russia ☭ forever, Viacheslav N. Mezentsev
I'm really enjoying the ability to use XY plots to visualize parametric drawings (ie polygons, poly lines etc). Great work Uni et al.
However, I don't understand:
1. Why does a vector line matrix needs to be contained within a 1x1 matrix? I'm guessing that is the answer: ie it needs to be 1 element to be parsed. Is that correct?
2. How do you create fill? For example, green fill between the points (0,0), (1,0), (1,1) and (0,1)?
Thanks!
However, I don't understand:
1. Why does a vector line matrix needs to be contained within a 1x1 matrix? I'm guessing that is the answer: ie it needs to be 1 element to be parsed. Is that correct?
2. How do you create fill? For example, green fill between the points (0,0), (1,0), (1,1) and (0,1)?
Thanks!
Thank you both. Martin: is there a place were the available pre-defined objects are documented?
I'm doing something wrong:

Not Working.sm (5.97 KiB) downloaded 854 time(s).
I'm doing something wrong:
Not Working.sm (5.97 KiB) downloaded 854 time(s).
WroteI'm doing something wrong:
Rename your matrix point to points.
1 users liked this post
Mark R Harris 2022/12/17 19:08:00
PBKAC! Thanks overlord.
Is there a list/documentation somewhere of the built-in objects?
Is there a list/documentation somewhere of the built-in objects?
Section 8.3.4 in the german handbook.
Or have a look at the interactive handbook: Graphics> 2D plots (plugin X-Y Plot)
Also, have a look at the topic starter post of this thread, there is extensive documentation on this plugin.
Or have a look at the interactive handbook: Graphics> 2D plots (plugin X-Y Plot)
Also, have a look at the topic starter post of this thread, there is extensive documentation on this plugin.
Martin KraskaPre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Mark R Harris 2022/12/17 20:01:00
The interactive handbook (tools-plugins-interactive handbook) was most helpful.
An excellent reference. Thank you Martin.
An excellent reference. Thank you Martin.
XYPlot: Plot Polygons: Complex Number Column Vectors
I'm hoping to plot polygons with complex number vertices as the coordinate pairs: ie x-coordinate = the real part, and y-coordinate = the imaginary part.
Is that possible? If not, would native handling of complex numbers as coordinate pairs by XYPlot be useful?
I've looked at both section 8.3.4 of the German handbook and also the Tools>Plugins>Interactive Handbooks>Interactive SMath Handbook>Graphics>2D Plots>X-Y Plot and can't find anything regarding complex number handling.
This kind of thing:

20230131 Triangle Test Complex XYPlot.sm (102.31 KiB) downloaded 850 time(s).
Thank you!
I'm hoping to plot polygons with complex number vertices as the coordinate pairs: ie x-coordinate = the real part, and y-coordinate = the imaginary part.
Is that possible? If not, would native handling of complex numbers as coordinate pairs by XYPlot be useful?
I've looked at both section 8.3.4 of the German handbook and also the Tools>Plugins>Interactive Handbooks>Interactive SMath Handbook>Graphics>2D Plots>X-Y Plot and can't find anything regarding complex number handling.
This kind of thing:
20230131 Triangle Test Complex XYPlot.sm (102.31 KiB) downloaded 850 time(s).
Thank you!
WroteXYPlot: Plot Polygons: Complex Number Column Vectors ...
Hi. This could be an option.

20230131 Triangle Test Complex XYPlot.sm (106.76 KiB) downloaded 873 time(s).
Best regards.
Alvaro.
4 users liked this post
NDTM Amarasekera 2023/1/31 08:05:00, Mark R Harris 2023/1/31 02:22:00, Вячеслав Мезенцев 2023/1/31 03:05:00, sergio 2023/1/31 05:52:00
WroteIs that possible? If not, would native handling of complex numbers as coordinate pairs by XYPlot be useful?
It can be done, but I doubt that it is necessary. Can you give an example where such an interpretation of complex numbers is used? I mean famous mathematical applications.
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Mark R Harris 2023/2/2 00:45:00
Thanks Uni.
No sorry, I'm just an engineer.
Stuff I'd use it for are:
* Visualsation of complex impedances (eg RF matching, filters, branching etc), and
* 2D visualisation (eg polygons for estimation of state).
No sorry, I'm just an engineer.
Stuff I'd use it for are:
* Visualsation of complex impedances (eg RF matching, filters, branching etc), and
* 2D visualisation (eg polygons for estimation of state).
4 users liked this post
Вячеслав Мезенцев 2023/2/19 06:35:00, João Felipe Seráfico Melo 2023/2/19 16:06:00, francesco rapuano 2024/11/20 00:17:00, Mark R Harris 2023/2/19 18:13:00
WroteHi would it be possible to add an option to make splot square or have arbitrary X/Y proportion?
If I understood you correct, this option already exist.
Try to scroll with control or shift key pressed. This will either change X or Y scale depending the key used.
Regards
WroteHi would it be possible to add an option to make splot square or have arbitrary X/Y proportion ?
You can use the square plot technique on either or both direction
Tabulate X & Y ... (X*a)±b,,,(Y*c)±d
My bad, what I need is to have the grid be square not the entire plot.
I want the drawing to be proportional.
I want the drawing to be proportional.
- New Posts
- No New Posts







