Lines and Dots on the same y-axis.

For questions and discussion related to graphs, reports, and other output, including issues related to presenting or publishing results.
msrahman
Posts: 53
Joined: Wed Oct 31, 2012 2:32 pm

Lines and Dots on the same y-axis.

Unread post by msrahman »

Hello All,

I have ten series to plot on a graph. Is it possible to plot the first five series as lines and the other five as dots using the same y-axis (WITHOUT using two scale overlay graph options)?

Thanks.

Sincerely,
Sajjadur.
TomDoan
Posts: 7732
Joined: Wed Nov 01, 2006 4:36 pm

Re: Lines and Dots on the same y-axis.

Unread post by TomDoan »

You need to use OVERLAY but you can use OVSAMESCALE:

Code: Select all

dec vect[series] x(10)
all 100
do i=1,10
   set x(i) = i+%ran(1.0)
end do i
graph(series=x,ovcount=5,overlay=dots,ovsamescale)
msrahman
Posts: 53
Joined: Wed Oct 31, 2012 2:32 pm

Re: Lines and Dots on the same y-axis.

Unread post by msrahman »

Thanks.

I understand.

Now let's say I have 11 series. Five plotted as lines, five plotted as dots using Overlay and Ovsamescale, all on the same y-axis.
But the 11th one, I want to plot as a line on the SECONDARY y-axis.

Any idea?

Sajjadur.
TomDoan
Posts: 7732
Joined: Wed Nov 01, 2006 4:36 pm

Re: Lines and Dots on the same y-axis.

Unread post by TomDoan »

Sorry. We never allowed for that.
Post Reply