Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

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


From   "Beede, David N" <[email protected]>
To   "Beede, David N" <[email protected]>, "[email protected]" <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index