X-Y Plot Region

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

#281 Pubblicato: 04/08/2018 02:46:31
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Updated. Line style for shape added. Small changes in the shape vector format.

2018-08-04_10-45-27.png

X-Y Plot. Draw shapes.sm (29,3 KiB) scaricato 1423 volta(e).

Russia ☭ forever, Viacheslav N. Mezentsev
4 utenti hanno apprezzato questo post
frapuano 04/08/2018 17:40:00, Radovan Omorjan 04/08/2018 03:37:00, Davide Carpi 04/08/2018 04:33:00, IVR 04/08/2018 06:14:00
#282 Pubblicato: 04/08/2018 12:42:20
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Updated. Arc and pie added, rounded rect fixed.

2018-08-04_20-41-00.png 2018-08-04_21-08-26.png

X-Y Plot. Draw shapes.sm (34,81 KiB) scaricato 1450 volta(e).
Russia ☭ forever, Viacheslav N. Mezentsev
3 utenti hanno apprezzato questo post
NDTM Amarasekera 04/08/2018 13:13:00, sergio 04/08/2018 14:28:00, Radovan Omorjan 04/08/2018 17:20:00
#283 Pubblicato: 04/08/2018 13:14:31
NDTM Amarasekera

NDTM Amarasekera

130 apprezzamenti in 352 post.

Gruppo: User

Thanks. How about a simple arrow?
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
#284 Pubblicato: 04/08/2018 17:37:50
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: Moderator

I saw the picture above made by uni and just remembered that many times users mentioned filling option (fill the area below the curve and x-axis) and workarounds in standard SMath plot.
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#285 Pubblicato: 04/08/2018 22:43:12
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote

How about a simple arrow?


I do not know how to do it better. The arrow should look good in different scales and in its own size.

Wrote

I saw the picture above made by uni and just remembered that many times users mentioned filling option (fill the area below the curve and x-axis) and workarounds in standard SMath plot.


Future plans:
- add a bar plot;
- add a contour plot;
- add a color map plot;
- add a vector field plot.

As for the log scale, for now I don't know how to add it without breaking the old documents.
Russia ☭ forever, Viacheslav N. Mezentsev
3 utenti hanno apprezzato questo post
frapuano 05/08/2018 05:14:00, sergio 05/08/2018 12:34:00, Radovan Omorjan 05/08/2018 02:34:00
#286 Pubblicato: 05/08/2018 19:31:05
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

How about a simple arrow?


I don't see what I posted few hours ago ?

2D Util Bar Arrow.sm (23,12 KiB) scaricato 1429 volta(e).

2 utenti hanno apprezzato questo post
NDTM Amarasekera 06/08/2018 00:17:00, Вячеслав Мезенцев 05/08/2018 19:40:00
#287 Pubblicato: 05/08/2018 22:23:12
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

How about a simple arrow?


We have the Mathcad code for vector field arrow, pretty involved.
Very superb to appreciate some DE solution as it evolves.

Arrow.PNG

#288 Pubblicato: 06/08/2018 16:54:53
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Updated. Serialization dependency for the settings form removed (changed to the experimental automatic algorithm). Legend height issue fixed. Save/load methods are significant refactored. Version changed to 0.2.x.x. Names (text representation) for the some parameters simplified (truncated).
Be careful
Russia ☭ forever, Viacheslav N. Mezentsev
#289 Pubblicato: 07/08/2018 05:14:02
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote

The legend shows line patterns even if line visibility is set to false for the data series.
Workaround: Set the line color to transparent (see left plot).


Updated. Fixed.

Russia ☭ forever, Viacheslav N. Mezentsev
3 utenti hanno apprezzato questo post
NDTM Amarasekera 07/08/2018 05:46:00, sergio 07/08/2018 13:52:00, frapuano 07/08/2018 12:02:00
#290 Pubblicato: 07/08/2018 11:40:24
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

- add a vector field plot.



VectorField.bmp
#291 Pubblicato: 07/08/2018 17:53:46
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

- add a vector field plot.



VectorField.PNG
#292 Pubblicato: 07/08/2018 18:07:37
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

- add a vector field plot.


MCD arrow style on low populated field is OK.
MCD arrow style on high populated field ... just horror.

SaddleField.PNG

#293 Pubblicato: 08/08/2018 00:19:31
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Jean, I already have code for this:

2018-08-08_07-58-21.png

To all.

I can add more plot styles (or regions):

- stem, error, area, stock, stairstep, bar, countur (color mapped), vector field (these styles can be added to xyplot region);
- polar;
- pie.

All these graphs are described in the book from Jack Xu: Practical C# Charts and Graphics.

2018-08-08_08-14-14.png Practical C# Charts and Graphics.PNG

I need more time to port all of them to SMath Studio.

Now I found a way to save region settings automatically (without built in serialization). I hope that I will be able to use it in the general case. I have to change the format of saving the xyplot region settings to extend it.

You can open old versions of documents, but older versions of SMath Studio will not be able to display new documents correctly.

How do you look at such changes or what do you think about it?
Russia ☭ forever, Viacheslav N. Mezentsev
2 utenti hanno apprezzato questo post
Radovan Omorjan 08/08/2018 04:32:00, frapuano 08/08/2018 17:41:00
#294 Pubblicato: 08/08/2018 01:39:18
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Updated. You can use simplified form to define implicit 2D plot (t or x used as first variable, for the second you can use any variable).

2018-08-08_09-35-14.png
Russia ☭ forever, Viacheslav N. Mezentsev
4 utenti hanno apprezzato questo post
sergio 08/08/2018 04:44:00, NDTM Amarasekera 08/08/2018 11:52:00, Radovan Omorjan 08/08/2018 04:31:00, frapuano 08/08/2018 02:36:00
#295 Pubblicato: 08/08/2018 11:46:58
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

Jean, I already have code for this:



Thanks Uni for working all those stuff.
We still need a 3D matrix style for different usages
but mostly Catmul-Clark 3D splines and mesh.

Jean
#296 Pubblicato: 08/08/2018 17:50:17
frapuano

frapuano

13 apprezzamenti in 115 post.

Gruppo: User

Uni

my modest opinion is that I see as really positive the implementation of all these features/changes mentioned in your earlier e-mail ; they are really welcome even if new documents will not be displayed in old Smath version .

Best regards

Franco
#297 Pubblicato: 12/08/2018 14:53:32
manolo

manolo

8 apprezzamenti in 9 post.

Gruppo: User

Uni,

thank you very much for your work on X-Y Plot Region.

I'm plotting measured data visible as symbols and regressions as lines like this:

2018-08-12_19-32-21.png

It is possible to change the behavior of the legend? Entries without names should not be displayed in the legend.

Many thanks, Manolo
#298 Pubblicato: 12/08/2018 20:30:56
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

Wrote

It is possible to change the behavior of the legend?
Entries without names should not be displayed in the legend.



If you want too look smart for the reader and hide the source,
just identify "N/A: Confidential".
#299 Pubblicato: 12/08/2018 23:52:20
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

Wrote

It is possible to change the behavior of the legend? Entries without names should not be displayed in the legend.


Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
1 utenti hanno apprezzato questo post
frapuano 13/08/2018 03:59:00
#300 Pubblicato: 13/08/2018 13:33:10
manolo

manolo

8 apprezzamenti in 9 post.

Gruppo: User

Uni,

thank you for quick response. Plugin works as desired.
2018-08-13_18-23-51.png
de_Energieumwandlungen_Federschwinger.sm (149,55 KiB) scaricato 1482 volta(e).

Manolo
2 utenti hanno apprezzato questo post
Вячеслав Мезенцев 14/08/2018 02:15:00, frapuano 14/08/2018 03:27:00
  • Nuovi post
  • Nessun nuovo post