Graphing Problem

Graphing Problem - Can't graph piece wise function -SOLVED - Messages

#1 Posted: 10/3/2017 11:38:03 PM
dlyon

dlyon

0 likes in 5 posts.

Group: User

I've tried many ways from examples I have found on the internet, but I just can't get the graph to plot. What am I doing wrong?

Any help would be greatly appreciated.

Graph.png

[b]Foot note:
The problems are solved. The main problem was units; units must be correct through out. When using constants be sure the value also has units attached (1.5 m, not 1.5, for example). The second was that for the extended graph plugin there seems to be a limit on the levels of conditional functions you can call. I ended writing the function as a one line which worked:

Quote

m(x)={((x≥0m)&(x

#2 Posted: 10/4/2017 6:08:56 AM
csb531

csb531

0 likes in 24 posts.

Group: User

Hello Dave,

maybe a simple scaling problem? Your results are of magnitude 8 N, your plot is in [kN].
Try scaling the plot area with [Ctrl]+scroll wheel or [Shift]+ scroll wheel.
Hope this helps...

Regards, csb.
#3 Posted: 10/4/2017 7:51:33 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I just can't get the graph to plot



Dave, please attach the work sheet.
#4 Posted: 10/4/2017 11:19:15 AM
dlyon

dlyon

0 likes in 5 posts.

Group: User

Here Jean, thanks for looking

DaveMAST.sm (1 MiB) downloaded 43 time(s).
#5 Posted: 10/4/2017 12:07:09 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Input units are needed... in the standard 2D plot, just use p(x*'m) / V(x*'m)

2017-10-04 17_03_13-SMath Studio - [MAST.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Posted: 10/4/2017 12:18:53 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

1. The X_Y plot does not take conditional
2. Quick plot does not take units [there is way to trick]
3. units removed from the two conditional ... plots !!!

Cheers... Jean

MAST.sm (1 MiB) downloaded 52 time(s).
#7 Posted: 10/4/2017 1:31:53 PM
dlyon

dlyon

0 likes in 5 posts.

Group: User

Yahoo! Thanks Jean! I understand the problem!

Dave
  • New Posts New Posts
  • No New Posts No New Posts