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

st: RE: Re: graph presences in command line graph creation.


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Re: graph presences in command line graph creation.
Date   Tue, 28 Jan 2003 19:05:38 -0000

Don Spady
> 
> I want to create a vplplot (vertical plot of two variables, 
> sorted by one of
> them) and there is no command to do this in the drop down 
> graphics tab.  So
> I do it by using the command line.  However, I get a black 
> background and
> yellow foreground.  How do I change this to a white (or 
> whatever) background
> and a black (or whatever) foreground.  The use of the graph 
> preferences in
> the graphics tab doesn't work.  This was very easy to do in 
> Stata 7 but not
> at all intuitive in Stata 8.

-vplplot- as a user-written, unadopted 
program does not feature in the Graphics 
menu in Stata 8. (The same is true of all 
other user-written unadopted graphics programs. 
Many, perhaps most, but not all, are superseded 
by the new graphics.) 

So Don does it from the command line. The effect
is to set -version- to 6 while -vplplot- is 
working. The important bit of -vplplot- for 
this question is calling up -graph- actually to draw 
the graph, and under version control Stata 8 
calls up what it knows as -graph7-. 

However, it is my impression that graphics 
settings in Stata 8 do not also apply to 
-graph7-.  In any case, it does not seem possible 
within Stata 8 to replicate all the graphical 
flexibility of previous versions. On backgrounds, 
the Henry Ford principle applies that you 
can have any colour so long as it's black. 

A different question arises for me as author 
of -vplplot-. Will I rewrite it for Stata 8 
or is it superseded by the new graphics? 
My guess at this point is the former, 
although some of the functionality can 
I guess be provided very nicely by 
overlaying graphs in Stata 8. 

Nick 
[email protected] 

*
*   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