Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how

Legacy Documentation

Mathematica 8 (2010)

This is documentation for Mathematica 8, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 14.3)

Insetting Objects in Graphics

"Redrawing and Combining Plots" describes how you can make regular arrays of plots using GraphicsGrid . Using the Inset graphics primitive, however, you can combine and superimpose plots in any way.
Inset[obj, pos] specifies that the inset should be placed at position pos in the graphic
Inset[obj,pos,opos,size] render an object with a given size so that point opos in obj is positioned at point pos in the containing graphic
Inset[obj,pos,opos,size,dirs] specifies that the axes of the inset should be oriented in directions dirs

Creating an inset.

Here is a plot.
Out[1]=
This creates a plot within a parametric plot.
Out[2]=
Here is a three-dimensional plot.
Out[3]=
This creates a two-dimensional graphics object that contains two differently sized copies of the three-dimensional plot.
Out[4]=
Here are rotated and skewed plots inset in a graphic.
Out[5]=
Mathematica can render plots, arbitrary 2D or 3D graphics, cells, and text within an Inset . Notice that in general the display area for graphics objects will be sized so as to touch at least one pair of edges of the Inset .


ja zh

AltStyle によって変換されたページ (->オリジナル) /