X-Y Plot Region

X-Y Plot Region - Extends SMath Studio with a X-Y Plot Region. - Сообщения

#481 Опубликовано: 28.07.2022 20:23:20
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 29.07.2022 01:15:11
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 Опубликовано: 17.12.2022 01:18:38
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: 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 Опубликовано: 17.12.2022 12:40:55
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Mark R Harris 17.12.2022 14:46:00
#485 Опубликовано: 17.12.2022 15:22:56
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: 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 КиБ) скачан 67 раз(а).
#486 Опубликовано: 17.12.2022 18:16:50
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

Wrote

I'm doing something wrong:


Rename your matrix point to points.
1 пользователям понравился этот пост
Mark R Harris 17.12.2022 19:08:00
#487 Опубликовано: 17.12.2022 19:08:50
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: User

PBKAC! Thanks overlord.

Is there a list/documentation somewhere of the built-in objects?
#488 Опубликовано: 17.12.2022 19:56:02
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: 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.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Mark R Harris 17.12.2022 20:01:00
#489 Опубликовано: 17.12.2022 21:21:06
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: User

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

An excellent reference. Thank you Martin.
#490 Опубликовано: 30.01.2023 23:35:55
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: 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 КиБ) скачан 66 раз(а).

Thank you!
#491 Опубликовано: 31.01.2023 01:46:51
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

Wrote

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


Hi. This could be an option.

Clipboard01.png

20230131 Triangle Test Complex XYPlot.sm (106 КиБ) скачан 82 раз(а).

Best regards.
Alvaro.

4 пользователям понравился этот пост
Вячеслав Мезенцев 31.01.2023 03:05:00, sergio 31.01.2023 05:52:00, NDTM Amarasekera 31.01.2023 08:05:00, Mark R Harris 31.01.2023 02:22:00
#492 Опубликовано: 01.02.2023 09:53:35
Вячеслав Мезенцев

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

1402 сообщений из 1708 понравились пользователям.

Группа: 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 пользователям понравился этот пост
Mark R Harris 02.02.2023 00:45:00
#493 Опубликовано: 02.02.2023 00:49:26
Mark R Harris

Mark R Harris

4 сообщений из 90 понравились пользователям.

Группа: 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 Опубликовано: 19.02.2023 06:09:56
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

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

[albumimg]1672[/albumimg]

[albumimg]1673[/albumimg]

pSurf.sm (315 КиБ) скачан 257 раз(а).

pSurf.pdf (2 МиБ) скачан 241 раз(а).

Best regards.
Alvaro.
4 пользователям понравился этот пост
Вячеслав Мезенцев 19.02.2023 06:35:00, João Felipe Seráfico Melo 19.02.2023 16:06:00, francesco rapuano 20.11.2024 00:17:00, Mark R Harris 19.02.2023 18:13:00
#495 Опубликовано: 02.07.2023 19:07:41
Lupus the Canine

Lupus the Canine

0 сообщений из 7 понравились пользователям.

Группа: 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 Опубликовано: 02.07.2023 21:44:16
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 03.07.2023 06:52:00
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 03.07.2023 10:38:29
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 06.07.2023 20:03:17
Lupus the Canine

Lupus the Canine

0 сообщений из 7 понравились пользователям.

Группа: 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 Опубликовано: 07.07.2023 13:44:59
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: 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.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений