X-Y Plot Region

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

#481 Publicado: 28/7/2022 20:23:20
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

If you sometimes see a similar problem, then this is an error in the operation of a parallel algorithm used to speed up data processing.


Are these indecent lines result for same kind of problem?
It doesn't matter when cases() used by the way, same issue.

Regards

2022-07-29_02-19.png
#482 Publicado: 29/7/2022 1:15:11
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Wrote

Are 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
#483 Publicado: 17/12/2022 1:18:38
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

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!
#484 Publicado: 17/12/2022 12:40:55
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

Wrote


2. How do you create fill? For example, green fill between the points (0,0), (1,0), (1,1) and (0,1)?



The pre-defined objects in the XY-Plot-plugin might help.

xyplot_015.png

xyplot_016.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Mark R Harris 17/12/2022 14:46:00
#485 Publicado: 17/12/2022 15:22:56
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

Thank you both. Martin: is there a place were the available pre-defined objects are documented?

I'm doing something wrong:

Click to enlarge

Not Working.sm (5,97 KiB) descargado 1577 vez(es).
#486 Publicado: 17/12/2022 18:16:50
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

I'm doing something wrong:


Rename your matrix point to points.
A 1 usuarios les gustó este mensaje
Mark R Harris 17/12/2022 19:08:00
#487 Publicado: 17/12/2022 19:08:50
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

PBKAC! Thanks overlord.

Is there a list/documentation somewhere of the built-in objects?
#488 Publicado: 17/12/2022 19:56:02
Martin Kraska

Martin Kraska

1.361 me gusta en 2.275 mensajes.

Grupo: Moderator

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.
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
A 1 usuarios les gustó este mensaje
Mark R Harris 17/12/2022 20:01:00
#489 Publicado: 17/12/2022 21:21:06
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

The interactive handbook (tools-plugins-interactive handbook) was most helpful.

An excellent reference. Thank you Martin.
#490 Publicado: 30/1/2023 23:35:55
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

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:

Click to enlarge

20230131 Triangle Test Complex XYPlot.sm (102,31 KiB) descargado 1597 vez(es).

Thank you!
#491 Publicado: 31/1/2023 1:46:51
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote

XYPlot: Plot Polygons: Complex Number Column Vectors ...


Hi. This could be an option.

Clipboard01.png

20230131 Triangle Test Complex XYPlot.sm (106,76 KiB) descargado 1599 vez(es).

Best regards.
Alvaro.

A 4 usuarios les gustó este mensaje
Вячеслав Мезенцев 31/1/2023 3:05:00, NDTM Amarasekera 31/1/2023 8:05:00, Mark R Harris 31/1/2023 2:22:00, sergio 31/1/2023 5:52:00
#492 Publicado: 1/2/2023 9:53:35
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

Wrote

Is 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
A 1 usuarios les gustó este mensaje
Mark R Harris 2/2/2023 0:45:00
#493 Publicado: 2/2/2023 0:49:26
Mark R Harris

Mark R Harris

5 me gusta en 90 mensajes.

Grupo: User

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).
#494 Publicado: 19/2/2023 6:09:56
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Functions for grids, meshes and plot surfaces. Support triangular meshes and multiple surfaces in the same plot.

pSurf.png

surf.png

pSurf.sm (315,64 KiB) descargado 2425 vez(es).

pSurf.pdf (2,2 MiB) descargado 1814 vez(es).

Best regards.
Alvaro.
A 4 usuarios les gustó este mensaje
francesco rapuano 20/11/2024 0:17:00, Вячеслав Мезенцев 19/2/2023 6:35:00, João Felipe Seráfico Melo 19/2/2023 16:06:00, Mark R Harris 19/2/2023 18:13:00
#495 Publicado: 2/7/2023 19:07:41
Lupus the Canine

Lupus the Canine

0 me gusta en 7 mensajes.

Grupo: User

Hi would it be possible to add an option to make splot square or have arbitrary X/Y proportion?
It would make making plots that are supposed to be proportional much easier.
For example keeping this drawing square would be much easier:
Zrzut ekranu 2023-07-02 235134.png
#496 Publicado: 2/7/2023 21:44:16
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

Hi 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
#497 Publicado: 3/7/2023 6:52:00
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Hi 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
#498 Publicado: 3/7/2023 10:38:29
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

Wrote

For example keeping this drawing square would be much easier:


Here your functions plotted to square region.

Regards

2023-07-03_16-36.png
#499 Publicado: 6/7/2023 20:03:17
Lupus the Canine

Lupus the Canine

0 me gusta en 7 mensajes.

Grupo: User

My bad, what I need is to have the grid be square not the entire plot.
I want the drawing to be proportional.
#500 Publicado: 7/7/2023 13:44:59
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Wrote

My bad, what I need is to have the grid be square not the entire plot.
I want the drawing to be proportional.



Hi. Double clicking on the plot, you can access to the grid options for changing the 'Tick' value.

Clipboard01.png

Best regards.
Alvaro.
  • Nuevos mensajes
  • Sin mensajes nuevos