Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: -tabplot- and number of options limit


From   "Beede, David N" <dbeede@doc.gov>
To   "Beede, David N" <dbeede@doc.gov>, "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: -tabplot- and number of options limit
Date   Mon, 9 Jul 2012 10:44:01 -0400

 Thanks, Nick, that's informative, and I wonder if that is related to something else that I've noticed
 happening.  In the -tabplot- syntax below, the -xscale(alt)- option only seems works if it appears twice 
(once in the third line and again in the eighth line).  (The only way I made it work is when I accidentally 
copied and pasted the option rather than cutting and pasting it.)  And I have noticed other times using 
-tabplot- when placement of options seems to matter (which generally I didn't think it did as long as they weren't suboptions or sub-suboptions), but unfortunately I didn't document those instances.

   tabplot speed`z'`x' categnew if 1 <= categnew & categnew <= 20 `ifstatement' [iw=speedfreq], ///
     percent(categnew) ///
     showval(mlabsize(vsmall) mlabcolor(black)) yscale(reverse) xscale(alt) barall(bcolor(gs12))  ///
     subtitle("") ///
     ytitle("") ylabel(, labsize(vsmall)) yscale(noline)  ///
     xtitle("") xlabel(, angle(45) labsize(vsmall)) xscale(noline)  /// 
     title("`r'", size(medsmall) span bexpand) ///     
     xscale(alt) graphregion(color(white)) plotregion(color(white)) graphregion(icolor(white)) plotregion(icolor(white)) saving(nbm_jun2011_speeds_industry_graph_`z'_`x'_`w'_1_alt4, replace)

___________________________________________________________________


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index