SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
[X-Y Plot plugin] region dissappears when ploting
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
X-Y plot plotting two functions: Basile Edited by moderator 26 June 2016 13:49:46(UTC)
| Reason: title updated - marked as bug
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
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. Basile
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
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.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
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
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
Jean,
My system of units is NOT wrong.
Capacitance in Farad Inductance in Henry
Reactance of both in Ohm.
Basile
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,647 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
Seems the issue is related to negative infinity |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
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
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 13/10/2010(UTC) Posts: 172 Location: USA
Was thanked: 8 time(s) in 7 post(s)
|
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
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Basile 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.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/07/2010(UTC) Posts: 437 Location: Beer-Sheva Was thanked: 520 time(s) in 288 post(s)
|
By increasing the limit values of the function the graph does not pass through a pivotal point Bug.sm (9kb) downloaded 13 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Ber7 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 (12kb) downloaded 18 time(s).
|
1 user thanked Jean Giraud for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
...
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Bugs & Problems
»
[X-Y Plot plugin] region dissappears when ploting
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.