X-Y Plot Region

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

#621 Posted: 1/3/2025 6:34:58 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

1,004 likes in 1,677 posts.

Group: User

Colored Level curves of implicit functions.

cm1.png

cm2.png

XYContour.sm (75 KiB) downloaded 160 time(s).

XYContour.pdf (298 KiB) downloaded 167 time(s).

Best regards.
Alvaro.
3 users liked this post
francesco rapuano 1/3/2025 3:58:00 PM, Вячеслав Мезенцев 1/3/2025 9:35:00 AM, sergio 1/3/2025 3:23:00 PM
#622 Posted: 5/22/2025 9:31:23 PM
Jonas Bentell

Jonas Bentell

0 likes in 1 posts.

Group: User

The XY plot plugin works mostly fine for me, but I have a little suggestion that would probably not be too hard to fix:

Just skip plotting imaginary numbers in the graph. Let the user make them real if he wants to see them. That is the easiest way of handling complex input values, I believe.


#623 Posted: 5/23/2025 8:02:07 AM
Вячеслав Мезенцев

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

1,408 likes in 1,710 posts.

Group: Moderator

Wrote

... Just skip plotting imaginary numbers in the graph. Let the user make them real if he wants to see them. That is the easiest way of handling complex input values, I believe.


It's not quite clear what you mean. The user needs to be informed that complex numbers are not displayed simultaneously with real numbers.

image.png
Edited 5/23/2025 8:05:35 AM
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
Davide Carpi 5/23/2025 8:25:16 AM
#624 Posted: 5/23/2025 10:23:33 AM
Martin Kraska

Martin Kraska

1,230 likes in 2,156 posts.

Group: Moderator

The error message could be extended by "Use Re(), Im(), abs() or arg() to plot real or imaginary part or radius or angle respectively."

It might be an interesting feature to plot a series of complex numbers as a polygon, just like a two-column matrix. Such that plotting p would give the same result as plotting P in the following example:

image.png

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#625 Posted: 5/24/2025 10:02:21 PM
Nagy Varga Ádám

Nagy Varga Ádám

0 likes in 1 posts.

Group: User

Hello!

I have seen before on this forum that there was an option to configure a "Properties Source" tab in the XY plot format window. Sadly I cannot find it in my instance of SMath. I would like to set the limits of my plots to be changed by variables declared in my sheet and if I understood it correctly this option should be in the Properties Source tab. Is this feature still available in XYPlot?

Thanks in advance
Adam

image.png
Edited 5/24/2025 10:08:14 PM
#626 Posted: 5/25/2025 6:21:08 AM
Вячеслав Мезенцев

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

1,408 likes in 1,710 posts.

Group: Moderator

The oldest method of changing component properties has been removed (link).

Now you can set the component properties "directly": link

xyplot-set-properties-min-example.png

xyplot-set-properties-min-example.sm (10 KiB) downloaded 148 time(s).

To avoid editing documents, you can try this method. But you need to set a value for the Name property of the component.

xyplot-set-properties-support-old-style.png

xyplot-set-properties-support-old-style.sm (6 KiB) downloaded 135 time(s).
Edited 5/25/2025 6:27:03 AM
Russia ☭ forever, Viacheslav N. Mezentsev
4 users liked this post
NDTM Amarasekera 5/25/2025 1:12:46 PM, Nagy Varga Ádám 5/25/2025 11:54:06 AM, Alvaro Diaz Falconi 5/25/2025 7:43:17 PM, federico 5/26/2025 6:14:34 AM
#627 Posted: 5/26/2025 6:11:44 AM
federico

federico

6 likes in 4 posts.

Group: User

image.png
I never remember the correct syntax, but it's worth to say that it can be obtained also from the properties of (say) X-Axis, with "copy" command (to be pasted back in smath file).
1 users liked this post
Davide Carpi 5/26/2025 10:25:54 AM
  • New Posts New Posts
  • No New Posts No New Posts