X-Y Plot for electrical resistance

X-Y Plot for electrical resistance - Trying to plot electrical resistance - Сообщения

#1 Опубликовано: 16.10.2021 18:56:17
Fabian

Fabian

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

Группа: User

I am trying to plot electrical resistance using Electrical Engineering Library and X-Y-Plots Plugins but it does not seem to work:

2021-10-16 23_55_14-Window.png

Can anyone help me plot this?
#2 Опубликовано: 16.10.2021 19:41:28
overlord

overlord

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

Группа: Moderator

Delete the ohm unit in Rp.
Usually you shouldn't use units while plotting.
For information, this includes most numeric solver functions too.

Regards

2021-10-17_01-41.png
#3 Опубликовано: 16.10.2021 19:46:20
overlord

overlord

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

Группа: Moderator

Or if you will really need units;
Try to eliminate or add them in the input data.
It is to avoid them being used in plot.
Or to avoid conflict between unit-ed numbers and not unit-ed.

When you use Rx in your function, it can't be EEL_par with 1 ohm.
Plot try to use Rx as an number not a unit added number.
You either add unit to Rx or do opposite.
Opposite is eliminating all units of other variables.

Regards

2021-10-17_01-46.png
#4 Опубликовано: 17.10.2021 13:03:39
Fabian

Fabian

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

Группа: User

Thanks, this makes total sense.

Also, how is it possible to only plot (or "stem" as it is called in Matlab ) integer values?
#5 Опубликовано: 17.10.2021 14:28:23
overlord

overlord

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

Группа: Moderator

Wrote

Thanks, this makes total sense.

Also, how is it possible to only plot (or "stem" as it is called in Matlab ) integer values?


Maybe I chose a wrong word to describe it, shall edit.
It will plot not only integers, numbers actually.
But plot expect them to be dimensionless.
Not just X-Y plot, built-in 2D plot also.

Regards

2021-10-17_20-26.png
#6 Опубликовано: 17.10.2021 16:08:04
Fabian

Fabian

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

Группа: User

Wrote

Or if you will really need units;
Try to eliminate or add them in the input data.
It is to avoid them being used in plot.
Or to avoid conflict between unit-ed numbers and not unit-ed.

When you use Rx in your function, it can't be EEL_par with 1 ohm.
Plot try to use Rx as an integer not a unit added number.
You either add unit to Rx or do opposite.
Opposite is eliminating all units of other variables.

Regards

2021-10-17_01-46.png



So how did you add the Ohm symbol under the plot? It won't let me add a unit there.

#7 Опубликовано: 17.10.2021 16:23:47
overlord

overlord

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

Группа: Moderator

Wrote

So how did you add the Ohm symbol under the plot? It won't let me add a unit there.


1 - Hit multiply after Rx;
2 - (Type W in place holder, place Ctrl+G) or (Click ohm from right pane);
3 - Placeholder shall appear, either double click or press tab to insert Ω as unit.
If you are not typing units after numbers, this is the way.

You can also type ' between step1 and step2.
Units can be typed or chosed with this way more quick.
This will directly open placeholder scroll menu.

Regards
#8 Опубликовано: 18.10.2021 07:03:57
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Also, how is it possible to only plot (or "stem" as it is called in Matlab ) integer values?


Altitude is plotted integers.

Solve INVERSE Recursive NASA.sm (13 КиБ) скачан 24 раз(а).

PlotIntegers.PNG

#9 Опубликовано: 18.10.2021 09:30:30
Jean Giraud

Jean Giraud

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

Группа: User

... refreshed version ½ timing.

Solve INVERSE Recursive NASA.sm (16 КиБ) скачан 31 раз(а).
#10 Опубликовано: 18.10.2021 17:05:53
overlord

overlord

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

Группа: Moderator

Wrote

Also, how is it possible to only plot (or "stem" as it is called in Matlab ) integer values?


I don't know if there is a stem equivalent for smath plots.
But you can create your own function for that purpose.

Regards

stem.sm (8 КиБ) скачан 27 раз(а).

2021-10-18_23-04.png

#11 Опубликовано: 18.10.2021 21:03:39
Jean Giraud

Jean Giraud

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

Группа: User

... you can animate the stem system, have symbols too.
Here, integers are the X direction.
Eventually, easy for the Y direction as applicable.

2D Util Stem ANIM Laplace Diffusion.sm (21 КиБ) скачан 29 раз(а).
#12 Опубликовано: 19.10.2021 00:42:00
Alvaro Diaz Falconi

Alvaro Diaz Falconi

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

Группа: User

Wrote

...
Also, how is it possible to only plot (or "stem" as it is called in Matlab ) integer values?



Hi. In addition to the overlord solution, this is another approach.

stem.sm (12 КиБ) скачан 39 раз(а).

Imagen1.png

Best regards
Alvaro.
#13 Опубликовано: 19.10.2021 10:20:17
Jean Giraud

Jean Giraud

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

Группа: User

You can highlight some particular point(s) with glyphe(s) of you choice.
You will have to dispose their position by hand.

2D Plot Setup Glyphes.sm (28 КиБ) скачан 30 раз(а).
#14 Опубликовано: 19.10.2021 11:19:27
overlord

overlord

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

Группа: Moderator

Wrote

...In addition to the overlord solution...


Mine was not a solution to be honest.
Just a quick and ugly way to show it is possible.
This is a good solution though.

Regards
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений