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]

Re: st: RE: Stata 13 linepatternstyle


From   Lucas <[email protected]>
To   [email protected]
Subject   Re: st: RE: Stata 13 linepatternstyle
Date   Thu, 1 Aug 2013 18:21:18 -0700

Here's one version of my code which does not work:

. graph twoway function y=normal(.3372456+(.837738*x)),
  xscale(range(0 .9)) xlabel(0(.1).9)  ylabel(0(.1)1)
  legend(label(1 "Bivariate") label(2 "Direct Effects"))
  linepatternstyle(solid dot)
  ||
  function y=normal(.3263623+.0249095+(.9102603*x)),
  xscale(range(0 .9))  xlabel(0(.1).9) ylabel(0(.1)1)
  legend(label(1 "Bivariate") label(2 "Direct Effects"))
  linepatternstyle(solid dot) ;
option linepatternstyle() not allowed

and here's another that does not work:

. graph twoway function y=normal(.3372456+(.837738*x)),
>  xscale(range(0 .9))
>  xlabel(0(.1).9)
>  ylabel(0(.1)1)
>  legend(label(1 "Bivariate") label(2 "Direct Effects"))
>  linepatternstyle("-" ".")
>  ||
>  function y=normal(.3263623+.0249095+(.9102603*x)),
>  xscale(range(0 .9))
>  xlabel(0(.1).9)
>  ylabel(0(.1)1)
>  legend(label(1 "Bivariate") label(2 "Direct Effects"))
>  linepatternstyle("-" ".") ;
option linepatternstyle() not allowed

Thanks for any assistance.

On Thu, Aug 1, 2013 at 2:26 PM, Feiveson, Alan H. (JSC-SK311)
<[email protected]> wrote:
> Sam - A far as I know, -lpatternstyle_ works fine in Stata 13. Please include (an example) of the graph command you used that caused this problem.
>
> Al Feiveson
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Lucas
> Sent: Thursday, August 01, 2013 4:15 PM
> To: [email protected]
> Cc: Samuel Lucas
> Subject: st: Stata 13 linepatternstyle
>
> Anyone know what's up with linepatternstyle in stata13?  In graphing a few functions in the same graph, no matter what I do all lines are solid (though the shading may differ).  I tried setting mono but that no longer works (horrors for all those graphs I coded several years ago, if I have to re-make some sometime).  I used s1mono and s2mono and at worst all lines are the same (solid, same shade), and at best they differ only in shade. But I need differences in pattern (e.g., solid, dotted, and so forth).
>
> Is this a bug?  Or, is there a new command of which I do not know that one needs to use to set the pattern for (one or more) lines in the same graph?  Inquiring minds want to know (and will be very grateful for guidance!)!
>
> Thanks in advance.
> Sam
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index