[2d Plot] Axis limits

[2d Plot] Axis limits - Plots do not fit axes to data, so data are not visible. - Mensajes

#21 Publicado: 19/1/2019 14:01:05
justhumm

justhumm

0 me gusta en 18 mensajes.

Grupo: User

Wrote

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.



Wrote

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!
#22 Publicado: 19/1/2019 14:47:14
Вячеслав Мезенцев

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

1.558 me gusta en 1.868 mensajes.

Grupo: Moderator

You must install it using the extension manager (X-Y Plot Region).

2018-12-21_13-32-23.png

2019-01-19_22-44-52.png
Russia ☭ forever, Viacheslav N. Mezentsev
#23 Publicado: 26/1/2019 14:09:03
justhumm

justhumm

0 me gusta en 18 mensajes.

Grupo: User

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!
#24 Publicado: 27/1/2019 0:36:46
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 !]

#25 Publicado: 29/11/2019 11:14:46
miratas

miratas

1 me gusta en 5 mensajes.

Grupo: User

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!
#26 Publicado: 29/11/2019 13:33:43
fedeghi

fedeghi

25 me gusta en 112 mensajes.

Grupo: User

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
#27 Publicado: 30/11/2019 10:11:23
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

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 (29,09 KiB) descargado 1735 vez(es).
X_Y Plot Junior.sm (43,36 KiB) descargado 1738 vez(es).
2D Isometric.sm (92,61 KiB) descargado 1693 vez(es).
Utilities Discrete Algo Range INTERVALS Parts 1234.sm (84,91 KiB) descargado 1732 vez(es).
#28 Publicado: 13/12/2019 7:14:21
miratas

miratas

1 me gusta en 5 mensajes.

Grupo: User

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 (1,98 KiB) descargado 1669 vez(es).
#29 Publicado: 13/12/2019 12:01:10
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 (4,94 KiB) descargado 1734 vez(es).

#30 Publicado: 13/12/2019 12:16:15
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Wrote

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 (1,98 KiB) descargado 1669 vez(es).



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


FunctionDefinition.PNG


Regards!!
#31 Publicado: 13/12/2019 12:28:44
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Random_4 Pi.sm (20,56 KiB) descargado 1742 vez(es).
Random_1 Normal.sm (24,34 KiB) descargado 1666 vez(es).
Random_9 Fill Range PDF.sm (31,23 KiB) descargado 1689 vez(es).
Random_6 Weibull.sm (37,44 KiB) descargado 1717 vez(es).
Random_3 Logistic.sm (48,99 KiB) descargado 1739 vez(es).
#32 Publicado: 13/12/2019 18:01:23
miratas

miratas

1 me gusta en 5 mensajes.

Grupo: User

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 (16,17 KiB) descargado 1683 vez(es).

I used histogram implementation found on this forum. It is little bit slow, but otherwise works nicely.
A 1 usuarios les gustó este mensaje
Oscar Campo 16/12/2019 12:24:00
#33 Publicado: 13/12/2019 18:52:20
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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 (70,3 KiB) descargado 1690 vez(es)....SS6179
#34 Publicado: 13/12/2019 19:25:14
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Pattern Brownian BER Anim.sm (9,8 KiB) descargado 1618 vez(es).
Higgs.sm (8,25 KiB) descargado 1742 vez(es).
Pattern Brownian.sm (19,74 KiB) descargado 1696 vez(es).
Pattern Brownian Collect Image.sm (24,79 KiB) descargado 1669 vez(es).
#35 Publicado: 16/12/2019 16:07:14
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

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

  • Nuevos mensajes
  • Sin mensajes nuevos