[X-Y Plot plugin] region dissappears when ploting

[X-Y Plot plugin] region dissappears when ploting - Messages

#1 Posted: 6/24/2016 7:45:22 PM
Basile

Basile

8 likes in 172 posts.

Group: User

X-Y plot plotting two functions:
smath error 36.JPG

Basile
#2 Posted: 6/24/2016 9:35:35 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Basile. A bug without the file could be hard to interpret.
But, unregarding math or bugs, you're trying to use negative frequencies. Are you sure about what could be represent that? Also, a zero frequency, what is it? Direct current?
Frequencies also are usually represented in a log scale.
Best regards.
Alvaro.
#3 Posted: 6/24/2016 10:42:36 PM
Basile

Basile

8 likes in 172 posts.

Group: User

Alvaro,

All you say about the physics of the problem, you are right.

But look the mathematics, just plotting a function.
Look above, the X.L(f) plots fine.

Similarly plots fine if I use the Plot-2D.
smath error 37.JPG
Basile
#4 Posted: 6/24/2016 11:19:22 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Basile. You discover a couple of nice and unwanted visual special effects in blue. I know near nothing about smath plugins, and can't help about them.
Best regards.
Alvaro.
#5 Posted: 6/25/2016 12:38:12 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Two things Basile:
1. Your unit systen is wrong [L => H, C => F]
2. Xc, XL have nothing to do with an LC circuit.

XL is equal to f(x):= dontknow*x
XC is equal to f(x):= 1/dontknow*x

https://en.wikipedia.org/wiki/LC_circuit
#6 Posted: 6/25/2016 9:38:01 AM
Basile

Basile

8 likes in 172 posts.

Group: User

Jean,

My system of units is NOT wrong.

Capacitance in Farad
Inductance in Henry

Reactance of both in Ohm.

Basile
#7 Posted: 6/26/2016 7:51:00 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Seems the issue is related to negative infinity
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#8 Posted: 6/26/2016 9:18:34 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Basile,

What you did is no not correct: You copied the L
plot and put in it the C plot with the same L scales.
So, the C plot flies in the blue. Someting like this:
If you photograph a mouse and an elephant in the same
bed, you won't see both. If you adjust for elephant,
the mouse will be a dot pretty hard to isolate and
enlarge unless you have zillions of MP resolution ...

Jean

Forum Basile Plot.gif
#9 Posted: 6/26/2016 9:27:34 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

...

Forum Basile Plot.sm (4 KiB) downloaded 39 time(s).
#10 Posted: 6/26/2016 2:31:03 PM
Basile

Basile

8 likes in 172 posts.

Group: User

Jean,

Yes, it works with the Plot 2D.
The problem is with the X-Y plot. It disappears and freezes the instance of Smath!
As pointed by Davide a possible problem with minus infinity?

Basile
#11 Posted: 6/26/2016 4:05:08 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

The problem is with the X-Y plot. It disappears and freezes the instance of Smath!
As pointed by Davide a possible problem with minus infinity?



NO => Not as you think. X_Y is not an autoplot, it is a plot range.
If you plot sin(x) it falls in its default XY ranges OK. Otherwise
you have to range both directions. X_Y does not supports few things:
1. It does not plot x. It does not understand that 'x' is implicit
of 'x' = "1*x" neither implicit of 'x' = 'x+0'
2. It supports some common Engineering ranges 1*e ±3 [per say]
but will crash Smath instance if you want to range 1*e ± -15

X_Y is lovely in many projects but not in others.

#12 Posted: 6/29/2016 1:02:35 PM
Fridel Selitsky

Fridel Selitsky

520 likes in 451 posts.

Group: User

By increasing the limit values of the function  the graph does not
pass through a pivotal point

Bug.sm (8 KiB) downloaded 38 time(s).
#13 Posted: 6/29/2016 2:31:53 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

By increasing the limit values of the function



That's right but not a bug. Just that above the Y magnitude 45,
the canvas misses some points in the critial region.
More: does not fill the circle, plots x instead of +

Jean

X_Y Plot wisely.sm (11 KiB) downloaded 42 time(s).
1 users liked this post
Fridel Selitsky 6/29/2016 2:37:00 PM
#14 Posted: 6/29/2016 2:38:02 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

...

Forum XY Bifurcation.gif
  • New Posts New Posts
  • No New Posts No New Posts