How to plot a (simple) equation (and choose interval)?

How to plot a (simple) equation (and choose interval)? - Сообщения

#1 Опубликовано: 12.07.2017 01:22:41
pstein

pstein

0 сообщений из 3 понравились пользователям.

Группа: User

Sorry for this newbie question.

Assume I entered a super simple equation like:

y=2*x

Now I want to plot this graph/function in interval [-10,10]

How can I do this?

When I right-click on the equation I expected a context menu entry like "plot".
But there is no such context menu.

How else can I achieve this?

Peter
#2 Опубликовано: 12.07.2017 05:06:49
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

I should add a section on plotting in tutorial.

Insert> Plot> 2D

The axes control is via mouse wheel scrolling (try shift and ctrl keys) and panning
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 12.07.2017 08:19:41
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

1. Shift+@ to get the plot canvas
2. enter the plot argument
3. Shift+Wheel mouse [shrink/expand X directions]
4. Ctrl+wheel mouse [shrink/expand Y directions]
5. Mouse left down to slide in either directions
6. once the initial default plot is done:
... click on plot, mouse wheel to zoom ± both directions

2D Plot Range.sm (8 КиБ) скачан 739 раз(а).
2D Plot Range.sm (8 КиБ) скачан 264 раз(а).
2D Plot Range CONSTRAIN.sm (12 КиБ) скачан 322 раз(а).
2D Plot Range CONSTRAIN demo.sm (24 КиБ) скачан 214 раз(а).
#4 Опубликовано: 14.07.2017 10:37:53
pstein

pstein

0 сообщений из 3 понравились пользователям.

Группа: User

Wrote



Insert> Plot> 2D



Ok, thank you.

However I would like to have this function available as context menu of an entered function the paper.

Could this be added in the next version?
#5 Опубликовано: 14.07.2017 10:46:37
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

However I would like to have this function available as context menu



Can you explain/exemplify ...
Do you mean: click on the plot for a drop down options menu ?


#6 Опубликовано: 14.07.2017 11:27:11
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

... there is a missing detail from all examples and tutorials.
The Smath 2D default plot is on the X/Y ranges ± 10.
By default as well, it plots on the canvas pixel
i.e: 96 ppi [Pixel per inch], thus the extremely fine trace,
much finer than Mathcad that plots on ½ pica [6 ppi].
If you want to set intervals otherwise: construct 2D discrete.

Jean
#7 Опубликовано: 17.07.2017 11:10:35
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Egyptians had it their own ways [you know that]
For long time before the Egyptians, it is believed
the Mesopotamians had it much closer from "continued fractions".
"Pi" was approximated by various long empirical approximations [Legendre ...]
"Pi" was finally proved by Schwab [1813] => isoperimetres method.
Simon Plouffe [UQAM Montréal] method is pretty new, striking of simplicity.

The question is: can we devise some infinite numerical random suite to
approximate 'Pi' ... answer is NO ! Increase 'N' not to avail.

Jean

Random Monte Carlo Pi.sm (24 КиБ) скачан 177 раз(а).
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений