[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Legend in scatter plot
From: |
Daniel Arteaga |
Subject: |
Legend in scatter plot |
Date: |
Thu, 02 Jun 2011 12:37:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; ca-ES; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 |
Hello,
How can I print a legend in a scatter plot with different colours? A
minimal example:
color = [0;0.5;1];
scatter([0.15, 1.15 -1.15],[2.15 0 1.15],25,color);
legend({"a";"b";"c"});
The legend does not appear.
Tested in Octave 3.4.0 compiled from source in Ubuntu 11.04 64 bits.
Any help will be appreciated. Thanks,
Daniel
- Legend in scatter plot,
Daniel Arteaga <=