help-octave
[Top][All Lists]
Advanced

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

Re: Bar plot with logarithmic scale on y-axis


From: Juan Pablo Carbajal
Subject: Re: Bar plot with logarithmic scale on y-axis
Date: Mon, 24 Mar 2014 15:13:12 +0100

On Mon, Mar 24, 2014 at 10:14 AM, Matthias Brennwald
<address@hidden> wrote:
> Hi All
>
> I'd like to plot my data in a bar chart with log scale on the y-axis. Here's 
> what I tried:
>
>> h = bar ([1:10]',rand(10,1));
>> set (gca,'yscale','log');
>
> The first command produces the expected bar chart. The second command scales 
> the y-axis as expected, but the bars in the plot get screwed up. Can someone 
> please help me with this?
>
> I am using Octave 3.6.4 installed via MacPorts on Mac OS X 10.9. The graphics 
> backend is gnuplot.
>
> Thanks
> Matthias
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

Your question has been already answered
http://octave.1599824.n4.nabble.com/Bar-plot-with-logarithmic-scale-on-y-axis-tt4663289.html


reply via email to

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