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: Mon, 23 Jan 2012 08:06:14 -0500

On Jan 23, 2012, at 1:12 AM, andrewcd wrote:

> Thanks for the reply, but I'm not sure what to make of it.  I run the code
> you suggest, and get
> 
>>>> graphics_toolkit fltk
>        close all
>        scatter(rand(100,1),rand(100,1),20,rand(100,1),'o','filled') 
> error: `graphics_toolkit' undefined near line 11 column 9
>>>> 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
>>>>        graphics_toolkit
>>>> error: `graphics_toolkit' undefined near line 13 column 9
>>>> help         graphics_toolkit 
> error: help: `graphics_toolkit' not found
>>>> 
> 
> 
> so i google around and figure out that the syntax might need to be something
> like
> 
>>>>        graphics_toolkit ("fltk")
>        close all
>        scatter(rand(100,1),rand(100,1),20,rand(100,1),'o','filled') 
> error: `graphics_toolkit' undefined near line 15 column 9
>>>> 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
>>>> 
> 
> but I get a similar error
> 
> in case it matters, I am running Octave 3.2.3 on Ubuntu.

Sorry. I should have asked which version of Octave you were running.

Version 3.2.x is rather dated. Version 3.6.0 has just be released.

I don't have a 3.2.x version to try, but ...

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

I'm not sure if the "filled" option is supported in 3.2.x.

Ben




reply via email to

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