The PLOT_3DBOX procedure plots a function of two variables (e.g., Z=f(X, Y) ) inside a 3D box. Optionally, the data can be projected onto the "walls" surrounding the plot area.
This routine is written in the IDL language. Its source code can be found in the file
plot_3dbox.pro
in the
lib
subdirectory of the IDL distribution.
Set this keyword to the linestyle index for the type of line to be used when drawing the gridlines. Linestyles are described in IDL Linestyles :
Set this keyword to an plotting symbol index to be used in plotting the data. For more information, see PSYM .
Set this keyword to cause the boundary "walls" of the plot to be filled with the color index specified by the COLOR keyword.
Set this keyword to the linestyle used to draw the XY plane plot. See the table above for a list of linestyles.
In addition to the keywords described above, the AX , AZ , and ZAXIS keywords to the SURFACE procedure are accepted by PLOT_3DBOX. See SURFACE .
See , Graphics Keywords , for the description of graphics and plotting keywords not listed above. BACKGROUND
X = REPLICATE(5., 10.) ; Create some data to be plotted.
X1 = COS(FINDGEN(36)*10.*!DTOR)*2.+5.
Z1 = SIN(FINDGEN(36)*10.*!DTOR)*2.+5.
PLOT_3DBOX, X, Y, Z, /XY_PLANE, /YZ_PLANE, /XZ_PLANE, $
/SOLID_WALLS, GRIDSTYLE=1, XYSTYLE=3, XZSTYLE=4, $
YZSTYLE=5, AZ=40, TITLE='Example Plot Box', $
XTITLE='X Coordinate', YTITLE='Y Coodinate', $
ZTITLE='Z Coordinate', SUBTITLE='Sub Title', $
/YSTYLE, ZRANGE=[0,10], XRANGE=[0,10], $
PSYM=-4, CHARSIZE=1.6 ; Create the box plot with data projected on all of the walls. The PSYM value of -4 plots the data as diamonds connected by lines.