[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Plotting several series in the same figure non overlapping
From: |
Michael Goffioul |
Subject: |
Re: Plotting several series in the same figure non overlapping |
Date: |
Fri, 14 Mar 2008 06:32:04 +0100 |
Use small different x offsets when plotting:
scatter(x-0.05, y1);
hold on;
scatter(x+0.05, y2);
Michael.
On Fri, Mar 14, 2008 at 4:21 AM, mbn <address@hidden> wrote:
>
> Hello,
>
> I need to create a scatter plot with several series that have the same x
> value *and* may have same y value without overlapping. For example:
>
> Series 1 (S1)
> ----------------------
> x=1, y=0.5
> x=2, y=0.5
> x=3, y=0.4
>
> Series 2 (S2)
> ----------------------
> x=1, y=0.5
> x=2, y=0.1
> x=3, y=0.3
>
> I do not want S1(x=1, y=0.5) to overlap with S2(x=1, y=0.5). I want to get
> something like this:
>
> |
> 0.5| o + o
> 0.4| o
> 0.3| +
> 0.2|
> 0.1| +
> ------------------------------------------
> 1 2 3
>
> Where marker(S1)='o' and marker(S2)='+' and the points of each series do not
> overlap but share same x value.
>
> How can I do this in Octave 2.1 (preferred) or 3.0?
>
> Thanks in advance
> --
> View this message in context:
> http://www.nabble.com/Plotting-several-series-in-the-same-figure-non-overlapping-tp16043377p16043377.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>