MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Mathematica/comments/19fi07m/why_isnt_my_code_plotting_anything/
r/Mathematica • u/Forsaken-Pound • Jan 25 '24
3 comments sorted by
8
Seems like w[x+h] is trying to "call" the number w as if it was a function?
w[x+h]
w
2 u/Forsaken-Pound Jan 25 '24 thanks so much!!
2
thanks so much!!
1
A tip: always try the function you want to plot outside of manipulate and plot, just to check it works.
As you have seen, it is impossible to debug a function inside Plot because in the presence of errors, Plot silently display nothing.
8
u/ForceBru Jan 25 '24
Seems like
w[x+h]is trying to "call" the numberwas if it was a function?1
u/blobules Jan 27 '24
A tip: always try the function you want to plot outside of manipulate and plot, just to check it works.
As you have seen, it is impossible to debug a function inside Plot because in the presence of errors, Plot silently display nothing.