(1) From the command line, execute "SetDrawLayer UserBack" or
open the Tools Palette and use the 'Tree' tool with Option (Mac) or Alt (windows) to select the UserBack drawing layer. This puts the drawing objects behind the Graph traces.
(2) Draw a rectangle in the region you want. With the Arrow tool, double-click the rectangle to open a Window dialog to fine-tune the details. It looks like you want to select 'Axis bottom' for the X axis, and 'Plot Relative' for the Y axis. Set the other properties to your taste.
All of this can also be done from within a function. Look up the appropriate drawing commands.
Another option is to add a trace with two points, displayed using the "fill to zero" option. Then order the traces so that the actual data is drawn on top of the trace.
There is actually a package built-in that will do this for you if you don't want to deal with changing drawing layers or adding dummy traces. From the "Graph" menu, select Packages - Tint Background. Set up your colors etc. in the window that pops up. Then in the graph, drag the marquee box around the region you want to tint, right-click on that drawn box, then select "Add Tint Here."
open the Tools Palette and use the 'Tree' tool with Option (Mac) or Alt (windows) to select the UserBack drawing layer. This puts the drawing objects behind the Graph traces.
(2) Draw a rectangle in the region you want. With the Arrow tool, double-click the rectangle to open a Window dialog to fine-tune the details. It looks like you want to select 'Axis bottom' for the X axis, and 'Plot Relative' for the Y axis. Set the other properties to your taste.
All of this can also be done from within a function. Look up the appropriate drawing commands.
April 30, 2013 at 04:09 am - Permalink
April 30, 2013 at 05:31 am - Permalink
April 30, 2013 at 01:56 pm - Permalink