Standard Library procedure that establishes a newposition for the rectangular plot area based on input values specified using the device coordinate system.
xmax The position of the right edge of the rectangular plot area in device coordinates.
ymin The position of the bottom edge of the rectangular plot area in device coordinates.
ymax The position of the top edge of the rectangular plot area in device coordinates.
If only xmin and xmax are provided, the values for ymin and ymax are calculated. Calling SET_SCREEN with four input parameters is the same as setting the !P.Position system variable or using the Position keyword with the plotting commands.
SET_SCREEN overrides the effect of the system variables !X.Margin and !Y.Margin.
TIP: To find out the current values of your device, type one of the following two commands:
INFO, /Structure, !D PRINT, !D.X_Size, !D.Y_Size
INFO, /Structure, !D SET_SCREEN, !D.X_Size/10., !D.X_Size/2. SET_SCREEN, !D.X_Size/10., !D.X_Size/2.1, $ !D.Y_Size/1.7, !D.Y_Size/1.1 PLOT, [3, 4, 5], Title='Upper left plot' SET_SCREEN, !D.X_Size/10., !D.X_Size/2.1, $ !D.Y_Size/10., !D.Y_Size/2.3 PLOT, [5, 1, 6], Title='Lower left plot', $ /Noerase SET_SCREEN, !D.X_Size/1.8, !D.X_Size/1.1, $ !D.Y_Size/1.7, !D.Y_Size/1.1 PLOT, [3, 4, 5], Title='Upper right plot', $ /Noerase SET_SCREEN, !D_X_Size/1.8, !D_X_Size/1.1, $ !D_Y_Size/10., !D_Y_Size/2.3 PLOT, [2, 4, 3], title='Lower right plot', /Noerase SET_SCREEN, 1, 1, 1, 1, /Cursor
PLOT, [3, 5, 4] SET_SCREEN, !D_X_Size/10., !D_X_Size/1.1, $ !D_Y_Size/10., !D_Y_Size/1.1 PLOT, [3, 4, 5], $ Title='Without setting the region keyword' SET_SCREEN, !D_X_Size/10., !D_X_Size/1.1, $ !D_Y_Size/10., !D_Y_Size/1.1, Region PLOT, [3, 4, 5], Title='With the region keyword set', /Noerase
System Variables: !P.Position, !P.Region