help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outlines on filled symbols in a scatterplot


From: Ben Abbott
Subject: Re: Outlines on filled symbols in a scatterplot
Date: Sun, 22 Jan 2012 17:41:52 -0500

On Jan 22, 2012, at 4:39 PM, andrewcd wrote:

> Update:
> 
> I've realized that I can do this pretty easily by making two scatterplots
> overlaying each other, with one of them having slightly larger black dots,
> and the other having slightly smaller color-coded dots.
> 
> However, I can't seem to make the "filled" command work.
> 
> An example:
> 
> scatter(rand(100,1),rand(100,1),20,rand(100,1),'o') 
> 
> works, and gives me a bunch of random colored points.  However when I call 
> 
> scatter(rand(100,1),rand(100,1),20,rand(100,1),'o','filled')
> 
> I get 
> 
> error: invalid color specification: flat
> error: invalid value for color property "markerfacecolor" (value = flat)
> error: called from:
> error:   /usr/share/octave/3.2.3/m/plot/__scatter__.m at line 159, column 2
> error:   /usr/share/octave/3.2.3/m/plot/scatter.m at line 70, column 7
> 
> Not sure what to do here.
> 
> Help appreciaed.

This was recently fixed in the developers sources.

As a work around you can try the fltk graphics toolkit.

        graphics_toolkit fltk
        close all
        scatter(rand(100,1),rand(100,1),20,rand(100,1),'o','filled')

Ben





reply via email to

[Prev in Thread] Current Thread [Next in Thread]