Plot issue?

Plot issue? - Shouldn't this plot from neg inf to -7 and 1 to positive inf? - Messages

#1 Posted: 8/18/2020 12:57:32 AM
PCPlayer24_7

PCPlayer24_7

0 likes in 2 posts.

Group: User

Capture.PNG

Thanks for any response - j
#2 Posted: 8/18/2020 4:30:04 AM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi. Try changing the zoom with the mouse wheel, or it and control or shift.

Clipboard01.jpg

Best regards.
Alvaro.
#3 Posted: 8/18/2020 8:32:41 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Plot.PNG
#4 Posted: 8/18/2020 1:16:29 PM
PCPlayer24_7

PCPlayer24_7

0 likes in 2 posts.

Group: User

Capture.PNG

Razonar and Jean thanks for the quick replies, I tried Razonar's suggestion and it does fix the issue! I do like the idea to ensure f(2)=4 and f(-9)=81 to ensure the function works correctly.

Jean very helpful as well, I attempted to implement your example and haven't gotten it yet. Not sure if this is MathCad or SMath, I cannot get the "if" statement to work as you have it. So far I get only the "if" "else" from the programming toolbar only. The matrix's work though, so hopefully I get your example working in SMath soon.
#5 Posted: 8/18/2020 1:45:59 PM
Martin_B

Martin_B

21 likes in 84 posts.

Group: User

Wrote


... I cannot get the "if" statement to work as you have it. So far I get only the "if" "else" from the programming toolbar only.



Try "cases" (Custom Functions plugin).
By adding two, four ... additional arguments, you can add more if statements.
  • New Posts New Posts
  • No New Posts No New Posts