up previous next
PlotPointsOn

outputs the coordinates of the points to a file

Syntax
PlotPointsOn(L: LIST of points, S: STRING)

Description
This function is the same as PlotPoints with a second argument giving the name of the file to print on.

Note that the last argument is a STRING, the name of the file, and not a DEVICE, as for print on .

Example
/**/  PlotPointsOn([ [1/(X+1/2), X^2-X+14] | X in -10..10], "PLOT-points");
Plotting points...100%
21 plotted points have been placed in the file points

/**/  ImplicitPlotOn(x^2*y -(59/4)*x^2 +2*x -1, [-3,3], [0,250], "PLOT-curve");
Plotting points...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
735 plotted points have been placed in the file curve
After having produced the plot files using CoCoA-4, start "gnuplot" and then give it the following commands:
  plot "curve"
  replot "points"

See Also