HP Forums
plotfunc() in cas - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: plotfunc() in cas (/thread-13218.html)



plotfunc() in cas - teerasak - 07-01-2019 07:36 PM

i try using plotfunc() while working in cas mode. The calculator give a picture of the graph in stack. Some graph doesn’t look good e.g straight line as my example. So how can I control the scale of this plot command.

I guess, there must be some parameter specify in this command. What is the syntax of the command?

And if I plot it without specifying the plot range, how can I control default plotting behavior?
[attachment=7417][attachment=7418][attachment=7419][attachment=7420]


RE: plotfunc() in cas - parisse - 07-02-2019 04:29 AM

plotfunc(expression,x=a..b) or plotfunc([expr1,expr2,...],x=a..b)


RE: plotfunc() in cas - teerasak - 07-02-2019 08:13 AM

Thank you, parisse.

How about if using this plotfunc() without specifying the plot range (e.g plotfunc(x^2-1))? Where does the plotfunc() gets the default plot range?


RE: plotfunc() in cas - parisse - 07-02-2019 02:26 PM

I don't know if there is a way to modify the C++ variables that contains the default values, in Xcas the command xyztrange does that, but it is not available on the Prime.


RE: plotfunc() in cas - teerasak - 07-03-2019 06:57 AM

Noted. Thank you, parisse.