xyexchange, xzexchange, yzexchange
Exchange coordinate axes of a 2-D or 3-D plot
Calling Sequence
Parameters
Description
Examples
stats[statplots, xyexchange](plot)
statplots[xyexchange](plot)
xyexchange(plot)
plot
-
plot structure
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.
exchange the x and y coordinates of a 2-D plot note that this plots the inverse
with⁡statsstatplots:
p≔plot⁡x2,x=−3..3:
xyexchange⁡p
plot the exchanged and original plot together
plotsdisplay⁡p,xyexchange⁡p
a 3-D object shifted and exchanged
p≔plotsdisplay⁡plottoolscone⁡0,0,0:
plotsdisplay⁡p,xshift⁡5,yzexchange⁡p
See Also
alias
plot[color]
plots
plots[display]
Statistics
statplots(deprecated)[boxplot]
statplots(deprecated)[histogram]
statplots(deprecated)[scatterplot]
statplots(deprecated)[xscale]
statplots(deprecated)[xshift]
stats(deprecated)[statplots]
with
Download Help Document