HP Forums
[CAS] plotfunc() parameters - 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: [CAS] plotfunc() parameters (/thread-9133.html)



[CAS] plotfunc() parameters - DrD - 09-21-2017 01:10 PM

XCAS (Windows version), has optional parameters that don't seem to have counterparts in the Prime version. Is there a way to provide x,y ranges, colors, etc., on the [CAS] command line?

For example, (works in XCAS, accepted on Prime command line, but the options seem to be ignored):

[CAS]
plotfunc(6*x^(1/3)*x-3*x^(1/3),x = ((-10) .. 10),y = ((-20) .. 20));

Details would be helpful.

-Dale-


RE: [CAS] plotfunc() parameters - DrD - 09-22-2017 03:23 PM

[CAS]
y:=x^3-3*x+2;
plotfunc(y,x=(-4)..4,y=(-4)..4);

Entering the (undocumented) optional parameters for x-range and y-range seems to work. Other parameters, such as for color, labels, grid, line type, etc., may not be supported.

The XCAS help protocol, in general, doesn't seem to work on the prime, for this command.