plot issues
Ben Abbott
bpabbott at mac.com
Wed Jun 3 20:22:39 CDT 2009
On Jun 3, 2009, at 11:58 AM, Petr Mikulik wrote:
>>> b=logspace(1,10,24); a=repmat(b,10,1);
>>> imagesc(a); h=colorbar;
>>> set(h, 'YScale', 'log');
>>> There is just a visual difference: Matlab puts tic labels 10^0,
>>> 10^1,
>>> 10^2, ... while gnuplot puts 1, 10, 100, ..., 100000, 1e+6, 1e
>>> +7, ...
>>
>> I like the Matlab format as well. Presently, it is left to gnuplot
>> to handle
>> the formating.
>
> Please add the following gnuplot command if the terminal is enhanced:
> set format cb "10^{%T}"
My understanding is that Octave's color bar is just an instance of an
axes (meaning we don't use the gnuplot color-box, but create our own).
Can an axes be formated in a similar way? ... if so, how?
Ben
More information about the Bug-octave
mailing list