Plot draws wrong function

43 views
Skip to first unread message

solid...@gmx.net

unread,
Dec 12, 2017, 4:13:28 PM12/12/17
to mathics-users
Hey there, I just tried out this program today (under windows) and I found a strange issue.
The plot should actually go through zero (as y=-2x^2+21x obv. should) but it somehow doesn't. The function should be correct, Wolfram Alpha also draws the correct function.
It's the bottom function in the attached picture.
Another issue is that filling the function doesn't seem to work and also the lines get cuts at some points, this is probably due to me using it on Windows I suppose? Also I had to set the Window range to automatic otherwise the window would be too small and cut off the bottom.

Cheers
StrengthOfMaterials_HW8-2.png

Angus

unread,
Dec 15, 2017, 8:24:53 PM12/15/17
to mathics-users
Hi,

It looks like the filling doesn't work for piecewise. The plot is correct as far as I can tell, the axis is just cutting around 20 (not 0). You can change this with the PlotRange option

Thanks for reporting this,
Angus
Screenshot-2017-12-16 Mathics.png
Reply all
Reply to author
Forward
Message has been deleted
0 new messages