help-octave
[Top][All Lists]
Advanced

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

Re: unfilled bars in histogram


From: charles reid
Subject: Re: unfilled bars in histogram
Date: Fri, 29 Aug 2008 21:29:06 -0600

Hi Stephen -

Have you tried using "boxes" instead of a histogram?  This seems to match the description of what you want:

gnuplot> set style fill empty
gnuplot> plot sin(x) with boxes, cos(x) with boxes

(I'm using gnuplot 4.0.0)


Charles

On Fri, Aug 29, 2008 at 4:16 PM, Stephen Bijansky <address@hidden> wrote:
Octave users and developers,

Can someone tell me how to create a histogram with unfilled bars (as opposed to the solid bars)?

Currently, I'm just using the manual example hist (randn (10000, 1), 30); 

I believe the default in octave 2.1 was unfilled, and while the filled bars are great for viewing on a monitor, I prefer the unfilled bars for printing.

I'm using octave 3.0.0 and gnuplot 4.2.2.

In gnuplot, I think the function would be "set style fill empty".  So I tried grep -ri "set style" /usr/local/share/octave, and looking through hist.m, bar.m, __bar__.m, __bars__.m, ...  But I have not been able to figure this out.

Thanks for any help with this,
Steve Bijansky

_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave



reply via email to

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