 statplots(deprecated)/xyexchange - Maple Help

xyexchange, xzexchange, yzexchange

Exchange coordinate axes of a 2-D or 3-D plot Calling Sequence stats[statplots, xyexchange](plot) statplots[xyexchange](plot) xyexchange(plot) Parameters

 plot - plot structure Description

 • Important: The stats package has been deprecated. Use the superseding package Statistics instead.
 • The function xyexchange of the subpackage stats[statplots] exchanges the x and y coordinates of a 2-D or 3-D plot structure. Similarly, xzexchange and yzexchange exchange the x and z, and y and z coordinates respectively.
 • This function can be used with other plots in order to modify the display output.  It can also be used in conjunction with plots[display] to show various plots on the same axes.
 • The command with(stats[statplots]) allows the use of the abbreviated form of this command. Examples

Important: The stats package has been deprecated. Use the superseding package Statistics instead.

exchange the x and y coordinates of a 2-D plot note that this plots the inverse

 > $\mathrm{with}\left({\mathrm{stats}}_{\mathrm{statplots}}\right):$
 > $p≔\mathrm{plot}\left('{x}^{2}','x'=-3..3\right):$
 > $\mathrm{xyexchange}\left(p\right)$ plot the exchanged and original plot together

 > ${\mathrm{plots}}_{\mathrm{display}}\left(\left\{p,\mathrm{xyexchange}\left(p\right)\right\}\right)$ a 3-D object shifted and exchanged

 > $p≔{\mathrm{plots}}_{\mathrm{display}}\left({\mathrm{plottools}}_{\mathrm{cone}}\left(\left[0,0,0\right]\right)\right):$
 > ${\mathrm{plots}}_{\mathrm{display}}\left(\left\{p,\mathrm{xshift}\left(5,\mathrm{yzexchange}\left(p\right)\right)\right\}\right)$ 