X-Y Plot Region

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

#281 Publicado: 4/8/2018 2:46:31
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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) descargado 1421 vez(es).

Russia ☭ forever, Viacheslav N. Mezentsev
A 4 usuarios les gustó este mensaje
frapuano 4/8/2018 17:40:00, Radovan Omorjan 4/8/2018 3:37:00, Davide Carpi 4/8/2018 4:33:00, IVR 4/8/2018 6:14:00
#282 Publicado: 4/8/2018 12:42:20
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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) descargado 1445 vez(es).
Russia ☭ forever, Viacheslav N. Mezentsev
A 3 usuarios les gustó este mensaje
NDTM Amarasekera 4/8/2018 13:13:00, sergio 4/8/2018 14:28:00, Radovan Omorjan 4/8/2018 17:20:00
#283 Publicado: 4/8/2018 13:14:31
NDTM Amarasekera

NDTM Amarasekera

130 me gusta en 352 mensajes.

Grupo: User

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

Radovan Omorjan

325 me gusta y 1 no me gusta en 2.052 mensajes.

Grupo: 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 Publicado: 4/8/2018 22:43:12
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 3 usuarios les gustó este mensaje
frapuano 5/8/2018 5:14:00, sergio 5/8/2018 12:34:00, Radovan Omorjan 5/8/2018 2:34:00
#286 Publicado: 5/8/2018 19:31:05
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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) descargado 1425 vez(es).

A 2 usuarios les gustó este mensaje
NDTM Amarasekera 6/8/2018 0:17:00, Вячеслав Мезенцев 5/8/2018 19:40:00
#287 Publicado: 5/8/2018 22:23:12
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 6/8/2018 16:54:53
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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 Publicado: 7/8/2018 5:14:02
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 3 usuarios les gustó este mensaje
NDTM Amarasekera 7/8/2018 5:46:00, sergio 7/8/2018 13:52:00, frapuano 7/8/2018 12:02:00
#290 Publicado: 7/8/2018 11:40:24
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

- add a vector field plot.



VectorField.bmp
#291 Publicado: 7/8/2018 17:53:46
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

- add a vector field plot.



VectorField.PNG
#292 Publicado: 7/8/2018 18:07:37
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 8/8/2018 0:19:31
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 2 usuarios les gustó este mensaje
Radovan Omorjan 8/8/2018 4:32:00, frapuano 8/8/2018 17:41:00
#294 Publicado: 8/8/2018 1:39:18
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 4 usuarios les gustó este mensaje
sergio 8/8/2018 4:44:00, NDTM Amarasekera 8/8/2018 11:52:00, Radovan Omorjan 8/8/2018 4:31:00, frapuano 8/8/2018 2:36:00
#295 Publicado: 8/8/2018 11:46:58
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 8/8/2018 17:50:17
frapuano

frapuano

13 me gusta en 115 mensajes.

Grupo: 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 Publicado: 12/8/2018 14:53:32
manolo

manolo

8 me gusta en 9 mensajes.

Grupo: 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 Publicado: 12/8/2018 20:30:56
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: 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 Publicado: 12/8/2018 23:52:20
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: 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
A 1 usuarios les gustó este mensaje
frapuano 13/8/2018 3:59:00
#300 Publicado: 13/8/2018 13:33:10
manolo

manolo

8 me gusta en 9 mensajes.

Grupo: 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) descargado 1480 vez(es).

Manolo
A 2 usuarios les gustó este mensaje
Вячеслав Мезенцев 14/8/2018 2:15:00, frapuano 14/8/2018 3:27:00
  • Nuevos mensajes
  • Sin mensajes nuevos