It is possible to create the graph of one mono-dimensional user-defined function with the command plot (draw is equivalent).
f(x)=4*sin(x)
nanplot f
The plot window will be open showing the graph of the function.
When not specified the range of the graph will be from x=-10 to x=10 and with a resolution of 0.01.
It is possible to specify the required range and resolution with the plot command using the syntax:
plot func[minX:maxX:StepX]
for instance
plot f[-4:4:0.001]
Before a function is drawn, the data to be shown is calculated according the range and the resolution settled and this data is stored together with the function to speedup the successive plot requests. This data is called RAW data and is saved between sessions. If the range of the plot is changed or the function itself it is changed the RAW data is cleared. It is always possible to clear the raw data with the command clearraw func_name.
It is also possible to import a RAW data from a text file using session->import RAW data action.