X-Y Plot Region

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

#481 Objavljeno: 28. 7. 2022. 20:23:20
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 29. 7. 2022. 01:15:11
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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 Objavljeno: 17. 12. 2022. 01:18:38
Mark R Harris

Mark R Harris

5 svidjanja u 90 postova.

Grupa: 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 Objavljeno: 17. 12. 2022. 12:40:55
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
Mark R Harris 17. 12. 2022. 14:46:00
#485 Objavljeno: 17. 12. 2022. 15:22:56
Mark R Harris

Mark R Harris

5 svidjanja u 90 postova.

Grupa: 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) preuzeto 1616 put(ova).
#486 Objavljeno: 17. 12. 2022. 18:16:50
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Wrote

I'm doing something wrong:


Rename your matrix point to points.
1 korisnika je svidelo ovu objavu
Mark R Harris 17. 12. 2022. 19:08:00
#487 Objavljeno: 17. 12. 2022. 19:08:50
Mark R Harris

Mark R Harris

5 svidjanja u 90 postova.

Grupa: User

PBKAC! Thanks overlord.

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

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
Mark R Harris 17. 12. 2022. 20:01:00
#489 Objavljeno: 17. 12. 2022. 21:21:06
Mark R Harris

Mark R Harris

5 svidjanja u 90 postova.

Grupa: User

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

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

Mark R Harris

5 svidjanja u 90 postova.

Grupa: 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) preuzeto 1635 put(ova).

Thank you!
#491 Objavljeno: 31. 1. 2023. 01:46:51
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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) preuzeto 1633 put(ova).

Best regards.
Alvaro.

4 korisnika je svidelo ovu objavu
Вячеслав Мезенцев 31. 1. 2023. 03:05:00, NDTM Amarasekera 31. 1. 2023. 08:05:00, Mark R Harris 31. 1. 2023. 02:22:00, sergio 31. 1. 2023. 05:52:00
#492 Objavljeno: 1. 2. 2023. 09:53:35
Вячеслав Мезенцев

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

1.558 svidjanja u 1.868 postova.

Grupa: 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
1 korisnika je svidelo ovu objavu
Mark R Harris 2. 2. 2023. 00:45:00
#493 Objavljeno: 2. 2. 2023. 00:49:26
Mark R Harris

Mark R Harris

5 svidjanja u 90 postova.

Grupa: 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 Objavljeno: 19. 2. 2023. 06:09:56
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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) preuzeto 2488 put(ova).

pSurf.pdf (2,2 MiB) preuzeto 1915 put(ova).

Best regards.
Alvaro.
4 korisnika je svidelo ovu objavu
francesco rapuano 20. 11. 2024. 00:17:00, Вячеслав Мезенцев 19. 2. 2023. 06:35:00, João Felipe Seráfico Melo 19. 2. 2023. 16:06:00, Mark R Harris 19. 2. 2023. 18:13:00
#495 Objavljeno: 2. 7. 2023. 19:07:41
Lupus the Canine

Lupus the Canine

0 svidjanja u 7 postova.

Grupa: 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 Objavljeno: 2. 7. 2023. 21:44:16
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 3. 7. 2023. 06:52:00
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 3. 7. 2023. 10:38:29
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: 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 Objavljeno: 6. 7. 2023. 20:03:17
Lupus the Canine

Lupus the Canine

0 svidjanja u 7 postova.

Grupa: 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 Objavljeno: 7. 7. 2023. 13:44:59
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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.
  • Novi postovi
  • Nema novih postova