Discussion:
colorbar with log scale
Ivan Sutoris
2008-09-13 12:30:01 UTC
Permalink
Hello

I am using Octave 3.0.2 in Linux and I am trying to make plot with
colorbar in logarithmic scale. In MATLAB, one can use something like
this:

h = colorbar();
set(h,'yscale','log');

This doesn't work with in Octave with gnuplot engine, because
colorbar() doesn't return handle to colorbar object. I have tried the
same in Windows (Octave 3.0.1 with JHandles) and it works there, but I
haven't been succesful in installing Jhandles in Linux (and after some
searching through this list, is seems to me that it is not so easy).
So is there any way to have log scale colorbar with gnuplot, or should
I try again to install JHandles?

Thanks for any help
Ivan Sutoris
dbateman
2008-09-13 14:19:49 UTC
Permalink
Post by Ivan Sutoris
Hello
I am using Octave 3.0.2 in Linux and I am trying to make plot with
colorbar in logarithmic scale. In MATLAB, one can use something like
h = colorbar();
set(h,'yscale','log');
Its more than just the fact that colorbar doesn't return the handle. At the
moment the colorbar is just a thin layer over a gnuplot colorbox. To
implement this correctly needs callback functions that are in 3,1,x and I
have a patch that will allow the behavior you want. So expect this in 3.2
but not before

D.
--
View this message in context: http://www.nabble.com/colorbar-with-log-scale-tp19470192p19471049.html
Sent from the Octave - General mailing list archive at Nabble.com.
Loading...