Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


2 Pages<12
Options
Go to last post Go to first unread
Offline justhumm  
#21 Posted : 19 January 2019 20:01:05(UTC)
justhumm


Rank: Member

Groups: Registered
Joined: 02/03/2016(UTC)
Posts: 18
United States

Originally Posted by: Jean Giraud Go to Quoted Post
X_Y plot => you set the x, y limits
the QuickPlot => you wheel/mouse/zoom the x, y
Shift wheel mouse for the x
Ctrl wheel mouse for the y
click in plot shift up/dn, left/right to move the plot.


Originally Posted by: ElSid Go to Quoted Post
The @ plot is the quick plot. You are correct, it does not autoscale. The X-Y plot that Jean mentioned is a plugin for the PC based software.
I agree, an auto zoom to the correct plot area would be nice


Where is the X_Y plot (axis limits) plugin available for download? Or, if it's already installed, how do you implement it?

I am using windows SMath version 0.99 build 6884.

Thanks!

Edited by user 19 January 2019 20:07:21(UTC)  | Reason: Not specified

Offline uni  
#22 Posted : 19 January 2019 20:47:14(UTC)
uni


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 10/11/2010(UTC)
Posts: 1,494
Man
Russian Federation

Was thanked: 1274 time(s) in 745 post(s)
You must install it using the extension manager (X-Y Plot Region).



2019-01-19_22-44-52.png
Russia ☭ forever
Viacheslav N. Mezentsev
Offline justhumm  
#23 Posted : 26 January 2019 20:09:03(UTC)
justhumm


Rank: Member

Groups: Registered
Joined: 02/03/2016(UTC)
Posts: 18
United States

OK. I was being stupid...my extension manager was only showing the extensions "local storage". I had to switch it to "online gallery".

Thanks for the reply!
Offline Jean Giraud  
#24 Posted : 27 January 2019 06:36:46(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: justhumm Go to Quoted Post
OK. I was being stupid...my extension manager was only showing the extensions "local storage". I had to switch it to "online gallery".

About X_Y plot: so interesting/useful, so bloody freak in other situations.
If the function includes ln(x) and if it starts from very low,
can't start at 0. Start at very low just crashed Smath [yesterday !]

Offline miratas  
#25 Posted : 29 November 2019 17:14:46(UTC)
miratas

Rank: Newbie

Groups: Registered
Joined: 29/11/2019(UTC)
Posts: 5
Czech Republic

Was thanked: 1 time(s) in 1 post(s)
Hello,

yesterday I discovered SMath and I was impressed. I'm Mathcad 15 user, so I like similar behaviour.

But when I started playing with plot I realized that there is no automatic axis setting which is really pain.

I usually use the sheet as "live", so I change some value, do recalculate and instantly see the result in plot. This use is limited here only to small changes which fit in the current plot zoom. If values change more, you can not see them in the plot.

Anyway, thank you for this great tool!
Offline fedeghi  
#26 Posted : 29 November 2019 19:33:43(UTC)
fedeghi


Rank: Advanced Member

Groups: Registered
Joined: 14/09/2013(UTC)
Posts: 90
Italy

Was thanked: 24 time(s) in 16 post(s)
Many users plot functions with an additional plugin named "X-Y Plot" (by user "Uni" )
This plugin offers the possibility to control axis limits (and other stuff) using values or variables coming from previous calculation.
I have moved almost every office calculation tool from plotting with Smath native to "XY Plot" mainly for this feature.

You will find this explained in the XY plugin forum section, or more conveniently in remarkable "interactive handbook" prepared by user MKraska.
Just open the handbook and navigate to Graphics->2D Plot (XY plugin)

Cattura.PNG
Offline Jean Giraud  
#27 Posted : 30 November 2019 16:11:23(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Once you will get used with Smath QuickPlot & X_Y Plot,
you will appreciate how superior Smath is vs MCD.
MCD native mesh is ½ pica, Smath is pixel. Thus allows
sizing graphs exactly same width of fine trace vs rough MCD.
1. Size the X_Y plot on your min/max 'x'
2. size Y axis on those min/max ... done.
On rough data points X_Y has spline junction [Isometric example].
For Implicit Trifolium: wait until all frames are calculated,
then see the wind mill rotate ... quick/lovely vs MCD

Solve Implicit Trifolium.sm (30kb) downloaded 26 time(s).
X_Y Plot Junior.sm (44kb) downloaded 31 time(s).
2D Isometric.sm (93kb) downloaded 28 time(s).
Utilities Discrete Algo Range INTERVALS Parts 1234.sm (85kb) downloaded 21 time(s).
Offline miratas  
#28 Posted : 13 December 2019 13:14:21(UTC)
miratas

Rank: Newbie

Groups: Registered
Joined: 29/11/2019(UTC)
Posts: 5
Czech Republic

Was thanked: 1 time(s) in 1 post(s)
Thank you both, I need to try it.

I'm now stuck on another thing... I wanted to try to emulate runif and rnorm from MC. And I'm having problems even with runif. See attached.

Thanks,
Mira
runif.sm (2kb) downloaded 29 time(s).
Offline Jean Giraud  
#29 Posted : 13 December 2019 18:01:10(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: miratas Go to Quoted Post
I'm now stuck on another thing... I wanted to try to emulate runif and rnorm from MC. And I'm having problems even with runif. See attached.

Your attempted code is illegal, simply.
rnorm is another story ... will be back.

runif (1).sm (5kb) downloaded 22 time(s).

Offline oscampo  
#30 Posted : 13 December 2019 18:16:15(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 238
Man
Colombia
Location: Cali, Colombia

Was thanked: 79 time(s) in 60 post(s)
Originally Posted by: miratas Go to Quoted Post
Thank you both, I need to try it.

I'm now stuck on another thing... I wanted to try to emulate runif and rnorm from MC. And I'm having problems even with runif. See attached.

Thanks,
Mira
runif.sm (2kb) downloaded 29 time(s).


Simply use line() command after function definition as seen on attached image:


FunctionDefinition.PNG


Regards!!
Offline Jean Giraud  
#31 Posted : 13 December 2019 18:28:44(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Random_4 Pi.sm (21kb) downloaded 22 time(s).
Random_1 Normal.sm (25kb) downloaded 20 time(s).
Random_9 Fill Range PDF.sm (32kb) downloaded 20 time(s).
Random_6 Weibull.sm (38kb) downloaded 20 time(s).
Random_3 Logistic.sm (49kb) downloaded 20 time(s).
Offline miratas  
#32 Posted : 14 December 2019 00:01:23(UTC)
miratas

Rank: Newbie

Groups: Registered
Joined: 29/11/2019(UTC)
Posts: 5
Czech Republic

Was thanked: 1 time(s) in 1 post(s)
Thanks for the "line" hint! Is there any explanation why it is needed?

Attached is something which seems to work, also rnorm included. runif.sm (17kb) downloaded 22 time(s).

I used histogram implementation found on this forum. It is little bit slow, but otherwise works nicely.
thanks 1 user thanked miratas for this useful post.
on 16/12/2019(UTC)
Offline Jean Giraud  
#33 Posted : 14 December 2019 00:52:20(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: miratas Go to Quoted Post
Thanks for the "line" hint! Is there any explanation why it is needed?

Is one of very many cases that needs the code be isolated,
particularly this one as it not scalar.
The attached Histogram should work.

Stat Histogram Create Normal Random.sm (71kb) downloaded 23 time(s)....SS6179
Offline Jean Giraud  
#34 Posted : 14 December 2019 01:25:14(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Pattern Brownian BER Anim.sm (10kb) downloaded 21 time(s).
Higgs.sm (9kb) downloaded 19 time(s).
Pattern Brownian.sm (20kb) downloaded 19 time(s).
Pattern Brownian Collect Image.sm (25kb) downloaded 21 time(s).
Offline Jean Giraud  
#35 Posted : 16 December 2019 22:07:14(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: miratas Go to Quoted Post
I used histogram implementation found on this forum. It is little bit slow, but otherwise works nicely.

Original version does not work SS 6179.
I made simpler otherwise and accelerated timing by ~ 20.
Will be posted soon included in bigger document "Histogram".
Jean

Users browsing this topic
2 Pages<12
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.