Click here to see the SAS code.
Click here to see the example.

---------------------------------------------------------------

SAS/Graph version of chart on p. 1141 of Science magazine, 17nov2006
(using estimated values)

From the text in the magazine...

"Scrunching occurs in abortive initiation.  Single-molecule time traces
and transition-amplitude histograms for RPo (0NTPs) and RPitc,<=8 (ATP+UTP)
at the N25 promoter.  Data for positively and negatively supercoiled DNA are 
at the top and bottom, respectively.  Green points, raw data (30 frames 
per s); red points, averaged data (1-s window)."


SAS/Graph tricks used:
---------------------

The hardest part here was "faking" the plausibly-real data.  I used
a data step with a loop, and the sas rannor() function, and then 
applied some programmatical munging to the values.

I point the major & minor tickmarks in towards the graph using a
negative height in the axis statement.  I get the axis on the right-hand
side using the 'plot2' statement.

I use the new v9.2 'frontref' option to bring the reference line to the
front of the graph, so it's not obscured by the data points.

And, I suppress a few of the major tickmark labels by specifically 
making the axis value for that t= tickmark blank, such as value=(t=1 '').



Back to Samples Index