Colouring the datapoints of semilogy

John W. Eaton jwe at bevo.che.wisc.edu
Thu Jul 10 19:34:57 CDT 2008


On 10-Jul-2008, Ben Abbott wrote:

| 
| On Jul 10, 2008, at 8:09 PM, Shaun Jackman wrote:
| 
| > I would like to assign an arbitrary colour to every data point of a  
| > `semilogy'
| > plot, as I can with the `scatter' function. Is this possible?
| >
| > Thanks,
| > Shaun
| 
| As far as I know, the points will need to be treated as individual  
| objects. You'll need to plot them one at a time.
| 
| If anyone knows of a solution, I'm eager to be correct as I'd like to  
| have this capability myself.

What about doing something like

  scatter (x, log (y));

?

jwe


  


More information about the Help-octave mailing list