Note axis() is a suboption of yscale():
yscale(ra(0) axis(2))
As for the labeling of every point on both graphs (bar and line), I
leave the programming of that chartjunk to others... and predict the
results will be painful to look at.
On Mon, Dec 8, 2008 at 2:57 PM, Martin Weiss <[email protected]> wrote:
> Try http://www.stata-journal.com/sjpdf.html?articlenum=gr0019
>
>
> HTH
> Martin
> _______________________
> ----- Original Message ----- From: "René Geppert"
> <[email protected]>
> To: <[email protected]>
> Sent: Monday, December 08, 2008 8:45 PM
> Subject: st: Formatting a twoway graph with different scaled y axes
>
>
>> Hi, I am using Stata/SE 10 for Windows.
>>
>> I generated a graph using the following (simplified) code:
>>
>> . twoway (bar var1 Quarter, yaxis(1) yscale(range(0))) (line var2 Quarter,
>> yaxis(2) )
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/