[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: RE: ltable and plot
Thanks for the help. I tried it but it did not work for me.
A long time ago (four, five years?) I had the same problem.
The solution presented to me (by Bill Gould, by Nick Cox?), which I
still use, was (for my data):
. program define wander
1. gph open
2. ltable anos censura [freq=numero] if origem==0,graph
3. ltable anos censura [freq=numero] if origem==1,graph
ylabel(0,.2,.4,.6,.8,1)yline(0,.2,.4,.6,.8,1) pen(2) noconf notab
ylabel(0,.2,.4,.6,.8,1)yline(0,.2,.4,.6,.8,1) pen(3) noconf notab
4. gph close
Nick Cox wrote:
Here's a silly example of how to use -plot()-.
r so I guess.
Another handle which would be useful is for -ltable- to generate as
variables the quantities it tabulates; then you could knit your own
could you show how to do this other handle?
Has anyone had experience using the -plot- function with -ltable-?
To be specific:
. ltable time censor, graph by(treat)
works fine and it gives me two graphs side by side, each with a single
line--treat takes on two values: 0 & 1.
What I want is the two lines on a *single* graph.
* For searches and help try: