Page 1 of 1

Lines and Dots on the same y-axis.

Posted: Wed Feb 19, 2025 6:04 pm
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.

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

Posted: Wed Feb 19, 2025 6:45 pm
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)

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

Posted: Thu Feb 20, 2025 10:40 am
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.

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

Posted: Thu Feb 20, 2025 4:25 pm
by TomDoan
Sorry. We never allowed for that.