display()
command.
display({p1,p2,...,pn}, options);
Arguments:
p1,p2,...,pn: names for saved graphs
Remark: The curly braces {...}
can be replaced with
square brackets [...]
. There is a distinction between the two
in Maple, however the two forms are equivalent in dynagraph.
Example:
p1 := plot3d(x^2+y^2,x=-1..1,y=-1..1); p2 := plot3d(x^2-y^2,x=-1..1,y=-1..1); display({p1, p2});
Some plot3d()
options are also understood by the
display()
command. For instance:
display({p1, p2}, style=patch, shading=xy, scaling=unconstrained);
A merged graph may be saved under a new name:
p3 := display({p1, p2}, style=patch, shading=xy, scaling=unconstrained);and be used later for displaying or further merging with other graphs.