Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Pairplot markersymbol question


From   [email protected]
To   [email protected]
Subject   Re: st: Pairplot markersymbol question
Date   Tue, 12 Jul 2005 15:48:51 -0500

1.  For the line pattern, change the option to  -blpattern(dash)-

2.  For the marker symbol, if you alter lines 66 and 67 of Nick’s 
program (and hopefully this isn’t sacrilege) from

  local msymbol "Oh Th" 
  local sy2 "ms(Th)"

to:

  if "`msymbol'" != "" {
    tokenize `msymbol'
    local msymbol "`1'"
    if "`2'" != "" {
      local sy2 "ms(`2')"
    }
    else {
      local sy2 "ms(th)" 
    }
  }
  else  {				
    local msymbol "o" 
    local sy2 "ms(th)" 
  }


the marker symbols will be controlled. 

Of course, you should save this as -pairplot2- (and change line 11 to: 
program pairplot2, sortpreserve ) incase of any future improvements 
to –pairplot-

Hope this helps,
Scott


----- Original Message -----
From: David LB Schwappach <[email protected]>
Date: Tuesday, July 12, 2005 1:32 pm
Subject: st: Pairplot markersymbol question

> Dear all,
> I'm having a problem with the (wonderful) -Pairplot- package. I'm 
> trying to
> adress the markersymbols but seem to be able to change only the first
> symbol. Also, I cannot change the style of the connect line. 
> 
> My command reads: 
> pairplot  crude adjusted,  sort( hospital) sortlabel(hosp) 
> horizontal /// 
> lpattern(dash) ///
> ms(o T) mc(orange navy)
> 
> The plot is unaffected by my input in lines 2 (lpattern), and the 
> secondstatement in -ms- in line three. 
> Any help is very much appreciated. 
> Thank you in advance!
> Best
> David
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index