Graph settings

Graph settings - Messages

#1 Posted: 9/25/2019 5:12:44 AM
Dionysios J. Pantazis

Dionysios J. Pantazis

16 likes in 179 posts.

Group: User

Hey all-

1. Can the graph region be locked for things like zoom and axis assignments and the like? If so, HOW?

I swear, every time I fix the format on a graph, if I don't cock me head to look at it right and chant the special secret incantation, it will protest and jumble itself. Really though, if I am not paying attention and put the mouse focus on the graph, mouse or arrow gestures will mess it up.

2. Can the axis limits be assigned to a variable or string?

For example, if I want the axis range to round up and down to the next 'hundred' of my dataset, I have tried to find the upper and lower bounds by-

100*Ceil(Y.max/100)

and

100*(Floor(Y.min/100)-1)

but it does not seem that graph format function likes those.
Join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#2 Posted: 9/25/2019 9:56:22 AM
Arie

Arie

93 likes in 285 posts.

Group: User

Take a look at my post HERE.

I created a snippet using Uni's setprop function for XYPlot. You may find it useful.
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 users liked this post
Dionysios J. Pantazis 9/28/2019 3:36:00 AM
#3 Posted: 9/28/2019 3:42:26 AM
Dionysios J. Pantazis

Dionysios J. Pantazis

16 likes in 179 posts.

Group: User

Wrote

Take a look at my post HERE.

I created a snippet using Uni's setprop function for XYPlot. You may find it useful.



That was the ticket!

I used an include statement to point to the "F:\references\SMATH\XYPlotProps.sm" file and then set the properties by the example.

I was able to auto-set my graph limits by a bit of functions, and if I mess up the graph, I can recalc (F9) and it will reset itself.

https://i.imgur.com/nbYH2lr.png

Join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#4 Posted: 9/28/2019 1:21:02 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

2D Plot Discontinuous [min(,)].sm (14 KiB) downloaded 38 time(s).
Segments.PNG
#5 Posted: 9/28/2019 2:31:28 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... Dichotomy added for solving in the complex region.

2D Plot Discontinuous [min(,)].sm (27 KiB) downloaded 50 time(s).
#6 Posted: 9/28/2019 6:35:33 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

... Dichotomy added for solving in the complex region.


filling the loft added.

Loft.PNG
2D Plot Discontinuous [min(,)].sm (44 KiB) downloaded 48 time(s).
#7 Posted: 9/30/2019 7:04:59 PM
Dionysios J. Pantazis

Dionysios J. Pantazis

16 likes in 179 posts.

Group: User

Jean Giraud-

but how do you set your graph axis to -100
that is what i was trying to fix to hard values so it would not move or rescale the graph

sinneD
Join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#8 Posted: 10/1/2019 8:35:03 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

but how do you set your graph axis


1. Dispose the plot from plotting using Smath @ QuickPlot
zoom, shift left/right, up/down ...
2. Plot on the X_Y, set the X ± limits, Y ± limits.
3. plot ... 4. specify the traces from "list"
As simple as explained, no sweat ! ... Last plot.

2D Plot Discontinuous [min(,)].sm (44 KiB) downloaded 81 time(s).

#9 Posted: 10/1/2019 11:10:09 PM
Dionysios J. Pantazis

Dionysios J. Pantazis

16 likes in 179 posts.

Group: User

Jean Giraud-

I think that you are missing the point of my query- to be able to control and constrain the region of the plot.

Perhaps you should have a peek at what alyles has done. It seems to be extensible to other graphs and charts.

https://en.smath.com/forum/yaf_postsm59248_X-Y-Plot-Region.aspx#post59270


Join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#10 Posted: 10/1/2019 11:28:43 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I think that you are missing the point of my query- to be able to control and constrain the region of the plot.
Perhaps you should have a peek at what alyles has done. It seems to be extensible to other graphs and charts.



I only work w/o problems with strictly native Smath per say SS 6179.
The procedure offered should work for your latest SS, try it.
X_Y plot has its own [X, Y directions] min/max.
QuickPlot @ has to be often explored for where it locates.
From there, switch to X_Y plot
If you refuse the X_Y plot, you may be missing essentials features,
particularly for quality publishing.
#11 Posted: 10/1/2019 11:55:59 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I think that you are missing the point of my query- to be able to control and constrain the region of the plot.


You don't have a document, then no query ... is it ?
Easy to constrain the @ quick plot from "if/otherwise"
#12 Posted: 10/2/2019 11:19:45 PM
Dionysios J. Pantazis

Dionysios J. Pantazis

16 likes in 179 posts.

Group: User

Jean Giraud

I think that you are missing out on a great number of improvements to SMath if you are still using version 6xxx...

Here are 2 screen grabs-
1. The right click-format method. It works, but it is VARY tedious, and if you happen to click in the graph and move or scroll, the whole thing gets thrown off.

2. Using the XYPlotProps that alyles suggested allows the user to define the format to things like the axis limits and tics and the grid and the like.

The added benefit to this method is that if you happen to mess up the formatting of the graph, you can simply recalculate and it will reset the graph to the limits defined.

UserPostedImage

UserPostedImage
Join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
1 users liked this post
frapuano 10/3/2019 2:57:00 AM
#13 Posted: 10/3/2019 10:21:10 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I think that you are missing out on a great number of improvements to SMath if you are still using version 6179...


Interesting, but not so much.
By the rules of QA [Quality Control, certification],
a document must be stand alone, i.e: Include is rejected.
I appreciate the effort, but only gadget plot.

My last post Mathsoft Collaboratory was read > 2000 times
in < 24 hr. At all Collabs > 125000 post Akiva must have
collected zillions posts ... how many used "Reference"
[equivalent to Smath Include] ... NONE, only very few
to illustrate using it.

The attached document computes two Orifice Plate examples,
done otherwise 1987 for Magnesium Refinery.
It will pass QA from referenced:
1. Spink [the Bible].
2. AGA [US Bible}
3. ISO-5167 [the Bible of all Bibles].

For sure I know about "Include", posted in this Forum.
Otherwise, you won't see my attachment "Include".
Only stand alone documents.

Inst_Orifice Plate.sm (387 KiB) downloaded 50 time(s).

Too many updates SS, too many problems at each update.
Thus by far not yet a limited replacement to Mathcad/Mathsoft,
for whatever it can do as well. Further, at each SS last build,
reported problems come by pure coincidence.
It would take > one week running over my > 2000 documents.
#14 Posted: 10/3/2019 12:40:00 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

The added benefit to this method is that if you happen to mess up the formatting of the graph, you can simply recalculate and it will reset the graph to the limits defined.


Once X_Y is all set for the project, it will update for new
entries of the project. That's what I want exactly.
So, easy to observe the new project evolution wrt original.
In the attached, change n[50] for n[40]
X_Y updates silently. You may want to update other parameters.
In all that, the truth is that each user has to exhaust the
stuff he is using, here particularly the X_Y in cause.
From observation, SS version(s) to version(s)is more around
gadgets rather than CAS real stuff. The great switch was from
SS 5346 => ss 6179.
Next SS 6179 build:
1. make sure all function are scalar [reported: X^Y, erf, Gamma ...]
2. an evaporate function to replace Clear(,)
3. 15 D Gamma(x)
4. add the advanced integrators
5. clean arithmetic palette from numerals, arithmetic operations.
... few more to enhance SS at CAS level.

2D Isometric.sm (92 KiB) downloaded 68 time(s).




  • New Posts New Posts
  • No New Posts No New Posts