X-Y Plot Region

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

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

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

1402 likes in 1708 posts.

Group: Moderator

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

[albumimg]1504[/albumimg]

X-Y Plot. Draw shapes.sm (29 KiB) downloaded 106 time(s).

Russia ☭ forever, Viacheslav N. Mezentsev
4 users liked this post
IVR 8/4/2018 6:14:00 AM, Radovan Omorjan 8/4/2018 3:37:00 AM, Davide Carpi 8/4/2018 4:33:00 AM, frapuano 8/4/2018 5:40:00 PM
#282 Posted: 8/4/2018 12:42:20 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Updated. Arc and pie added, rounded rect fixed.

[albumimg]1505[/albumimg] [albumimg]1506[/albumimg]

X-Y Plot. Draw shapes.sm (34 KiB) downloaded 117 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
NDTM Amarasekera 8/4/2018 1:13:00 PM, sergio 8/4/2018 2:28:00 PM, Radovan Omorjan 8/4/2018 5:20:00 PM
#283 Posted: 8/4/2018 1:14:31 PM
NDTM Amarasekera

NDTM Amarasekera

130 likes in 352 posts.

Group: User

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

Radovan Omorjan

325 likes in 2052 posts.

Group: 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 Posted: 8/4/2018 10:43:12 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
sergio 8/5/2018 12:34:00 PM, frapuano 8/5/2018 5:14:00 AM, Radovan Omorjan 8/5/2018 2:34:00 AM
#286 Posted: 8/5/2018 7:31:05 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

How about a simple arrow?


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

2D Util Bar Arrow.sm (23 KiB) downloaded 93 time(s).

2 users liked this post
NDTM Amarasekera 8/6/2018 12:17:00 AM, Вячеслав Мезенцев 8/5/2018 7:40:00 PM
#287 Posted: 8/5/2018 10:23:12 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 8/6/2018 4:54:53 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

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

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

1402 likes in 1708 posts.

Group: 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 users liked this post
NDTM Amarasekera 8/7/2018 5:46:00 AM, frapuano 8/7/2018 12:02:00 PM, sergio 8/7/2018 1:52:00 PM
#290 Posted: 8/7/2018 11:40:24 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

- add a vector field plot.



VectorField.bmp
#291 Posted: 8/7/2018 5:53:46 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

- add a vector field plot.



VectorField.PNG
#292 Posted: 8/7/2018 6:07:37 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 8/8/2018 12:19:31 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 [albumimg]77[/albumimg]

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 users liked this post
Radovan Omorjan 8/8/2018 4:32:00 AM, frapuano 8/8/2018 5:41:00 PM
#294 Posted: 8/8/2018 1:39:18 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
NDTM Amarasekera 8/8/2018 11:52:00 AM, sergio 8/8/2018 4:44:00 AM, Radovan Omorjan 8/8/2018 4:31:00 AM, frapuano 8/8/2018 2:36:00 AM
#295 Posted: 8/8/2018 11:46:58 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 8/8/2018 5:50:17 PM
frapuano

frapuano

13 likes in 115 posts.

Group: 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 Posted: 8/12/2018 2:53:32 PM
manolo

manolo

8 likes in 9 posts.

Group: 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 Posted: 8/12/2018 8:30:56 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: 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 Posted: 8/12/2018 11:52:20 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: 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 users liked this post
frapuano 8/13/2018 3:59:00 AM
#300 Posted: 8/13/2018 1:33:10 PM
manolo

manolo

8 likes in 9 posts.

Group: User

Uni,

thank you for quick response. Plugin works as desired.
2018-08-13_18-23-51.png
de_Energieumwandlungen_Federschwinger.sm (149 KiB) downloaded 98 time(s).

Manolo
2 users liked this post
frapuano 8/14/2018 3:27:00 AM, Вячеслав Мезенцев 8/14/2018 2:15:00 AM
  • New Posts New Posts
  • No New Posts No New Posts