Professional Documents
Culture Documents
Mathematica 12. Insetting Objects in Graphics
Mathematica 12. Insetting Objects in Graphics
Functions URL
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:
In[1]:= p1 Plot Sin x , Sin 2 x , x, 0, 2 Π , ImageSize 200, Frame True, Background LightYellow
repre seno seno tamaño de imagen marco verd fondo de imagen amarillo claro
Out[1]=
Out[2]=
Out[3]=
This creates a two-dimensional graphics object that contains two differently sized copies of the three-dimensional plot:
In[4]:= Graphics Inset p3, 1, 1 , Center, 2, 2 , Inset p3, .5, .5 , Center, 3, 3 , PlotRange 2
gráfico encarte centro encarte centro rango de representación
Out[4]=
In[5]:= Graphics
gráfico
Inset p1, 1, 0 , Center, 1, 1 , 1, 1 ,
encarte centro
Inset p1, 2, 0 , Center, 1, 1 , 1, 0 , 1, 1
encarte centro
Out[5]=
The Wolfram Language 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 .
Related Guides
Symbolic Graphics Language
Related Tutorials
The Structure of Graphics and Sound
Graphics and Sound