next up previous contents
Next: Univariate and parametric polynomial Up: Continuation for one-dimensional system Previous: Specific parameters for the   Contents


Drawing procedure

For one dimensional system with 1 or 2 variables it is possible to obtain a plot of the curve. The syntax of this procedure is:
 
Draw([equation set],[variable set],[parameter name],
  [list of ranges for the variable],[range for the parameter],
  parameter increment for the storage,epsilon,epsiloni,Sens);
where the arguments are the same than the previous procedure. It returns a PLOT structure for system with one variable and a PLOT3D structure for systems with two variables. Hence to draw the previous curve you may write:
 
with(ALIAS):
with(plots):
Draw([x^2+(y-1)^2+z^2-1,x^2-y^3],[x,y],[z],[[-100,100],[-100,100]],[[-2,2]],
	0.05,1e-6,1);
Note that optionally you may add two arguments at the end of the list of arguments. These arguments are the name of a C++ program and the name of the procedure that is defined within this program. This procedure must update the range of the unknowns according to the value of the parameter.

Note that the points used for drawing the plot are stored in the file /tmp/Branch1 for the first branch, /tmp/Branch2 for the second branch and so on.

For problems involving more than 2 variables you may obtain partial plots by using the DrawND procedure, see section 9.10.


next up previous contents
Next: Univariate and parametric polynomial Up: Continuation for one-dimensional system Previous: Specific parameters for the   Contents
Jean-Pierre Merlet 2012-12-20