ZedGraph Region

ZedGraph Region - Extends SMath Studio with a ZedGraph Region. - Messages

#61 Posted: 4/22/2020 7:45:50 AM
Andreas Hildebrandt

Andreas Hildebrandt

0 likes in 5 posts.

Group: User

Wrote

Updated. Experimental build. Be careful with this. You need to update X-Y Plot first.

File not found. File not found.

P.S. "Name" property is not saved. This will be more difficult to fix, as component uses a binary format for storing settings.



Thank's a lot!!! This is exactly what I was looking for.
You are genius.

#62 Posted: 4/22/2020 1:33:41 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

1. click/click to open your spec stuff
2. click/click to open Zed all spec
Same for less vs same for more !
Stupid Zed ... missing the most delicious line "spline".

ZgraphStyle.PNG
#63 Posted: 4/22/2020 2:36:48 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

What is it Zed does not understand ?

ZedFreak.PNG
#64 Posted: 4/22/2020 8:04:39 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

No shame to publish ... few seconds = done.

X_Y Splines.PNG
#65 Posted: 10/26/2020 5:13:16 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Is it possible to make Zedgraph plot functions with built in conditional programming, ie. if ()?

Also, is it possible to alter the numbers along the axis when log scale is chosen such that the numbers is not written in 10^x?
#66 Posted: 10/26/2020 7:18:43 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

I think it is possible if I change the plugin. I'll try do that.

The external design is not yet fully tested, but you can do this.

problem_log (uni).sm (691 KiB) downloaded 98 time(s).

ZedGraph.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
sergio 10/26/2020 9:24:00 AM
#67 Posted: 10/26/2020 11:04:37 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

I think it is possible if I change the plugin. I'll try do that.

The external design is not yet fully tested, but you can do this.



Thank you. Do you think it's possible to make Zedgraph plot my function when the function uses if() instead of cases() to break the for loop?

(in the sheet cases() is used to break the loop, but cases() doesn't actually work.. no iterations are made, the loop is broken after the first run).
#68 Posted: 10/26/2020 12:37:57 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

Thank you. Do you think it's possible to make Zedgraph plot my function when the function uses if() instead of cases() to break the for loop?



Updated. Try now.
Russia ☭ forever, Viacheslav N. Mezentsev
#69 Posted: 10/26/2020 1:29:50 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

Thank you. Do you think it's possible to make Zedgraph plot my function when the function uses if() instead of cases() to break the for loop?



Updated. Try now.



Do I have to delete Zedgraph and make a fresh install?

I tried making a new sheet with a new Zedhgraph - still "x - not defined" when if() is used in the function.
#70 Posted: 10/26/2020 1:34:33 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

No, you must update it using the main menu: Tools\Plugins (Local Storage) - ZedGgraph Region (Update).

2020-10-26_21-33-37.png
Russia ☭ forever, Viacheslav N. Mezentsev
1 users liked this post
hanskl 10/26/2020 2:46:00 PM
#71 Posted: 10/26/2020 2:45:26 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

No, you must update it using the main menu: Tools\Plugins (Local Storage) - ZedGgraph Region (Update).



I went to the plugin manager to check, but I didnt check the online gallery, thus there was no update for me.

I updated from online gallery now and it works! Both the option for "IsUseTenPower" and plotting a function with if() conditional.

I am a very happy camper now. Thank you very much!
#72 Posted: 10/26/2020 2:55:16 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I think it is possible if I change the plugin. I'll try do that.


Maybe not needed at all. My ZedGraph ancestor plots data OK.
Some patient Collab might be willing. I hate that beast, it punishes me !
As it plots data, for multiple plot will have to be dressed in matrix,
then collect each plot piece.

HanskiUser.PNG

Project Hanski Soil Drainage Ng User.sm (313 KiB) downloaded 66 time(s).
#73 Posted: 10/26/2020 6:04:54 PM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

I think it is possible if I change the plugin. I'll try do that.

The external design is not yet fully tested, but you can do this.



another question - is it possible to have a "dynamic" number format? such that 100 is written as 100 and not 100.0, while 0.1 is written as 0.1?
#74 Posted: 10/26/2020 6:14:09 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... demo 3 plots added on Zedgraph.
I don't speak enough Aliens to finish a presentable plot.
subdivide X axis, make tick labels visible rather than microscopic...

Project Hanski Soil Drainage Ng User.sm (586 KiB) downloaded 72 time(s).

#75 Posted: 10/26/2020 11:25:27 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Wrote

another question - is it possible to have a "dynamic" number format? such that 100 is written as 100 and not 100.0, while 0.1 is written as 0.1?



Try Scale.Format = g2 or g3
Russia ☭ forever, Viacheslav N. Mezentsev
#76 Posted: 10/27/2020 4:10:26 AM
hanskl

hanskl

7 likes in 158 posts.

Group: User

Wrote

Wrote

another question - is it possible to have a "dynamic" number format? such that 100 is written as 100 and not 100.0, while 0.1 is written as 0.1?



Try Scale.Format = g2 or g3



Worked like a charm! One last request (I think) - is it possible to have the minor and major step linear while using a log scale?

Now my major steps are 0,1 1 10 and 100. Is it possible to divide each range in 10?
#77 Posted: 10/27/2020 8:54:09 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... latest attempt demo.

Project Hanski Soil Drainage Ng ZedGraph.sm (395 KiB) downloaded 74 time(s).
#78 Posted: 10/27/2020 9:20:06 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

is it possible to have the minor and major step linear while using a log scale?


The major'y' grids are linear wrt the pixels in height,
but not the labels [naturally]. Minor grids are confusing.
Thus the idea of tracking and display the XY coordinates.
Jean

#79 Posted: 11/21/2020 7:59:28 AM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Updated.

Changes:

- SS-4652 partially fixed.

2020-11-21_16-09-08.png
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
sergio 11/21/2020 8:01:00 AM, Alvaro Diaz Falconi 11/21/2020 11:24:00 AM
#80 Posted: 8/10/2023 6:24:35 AM
Martin Kraska

Martin Kraska

1222 likes in 2150 posts.

Group: Moderator


- insert a zedgraph region
- set YAxis> Type to log.

This freezes the UI, only option is to kill SMath in the program manager. Version 8348.

I understand that log axes must have positive limits. Just a hint on a trap for uncautious users.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 users liked this post
Oscar Campo 9/22/2023 11:41:00 PM
  • New Posts New Posts
  • No New Posts No New Posts