I want to use a common color scale among several images. In Matlab, it
is possible with the caxis command, is there an equivalent in Scilab?
I want to do something like this but within Scilab:
--
figure,
x = linspace(0,1,101);
z = cos(2*pi*x)'*sin(2*pi*x);
zm = min(min(z)); zM = max(max(z));
pcolor(x,x,z), shading flat,
caxis manual; caxis([zm zM]);
colorbar
figure,
z2 = x'*x*0.4;
pcolor(x,x,z2), shading flat,
caxis manual; caxis([zm zM]);
colorbar
--
Thank your for your help.
You can use the same code
if you install the plotlib (version >= 0.4)
available thru the Atoms gui.
S.
Le 07/11/10 17:17, Bouchra Bensiali a écrit :
Actually, I thought about this solution but I have some problems with
it. I installed plotlib following http://atoms.scilab.org/toolboxes/plotlib/0.42,
so when I start scilab, I have this:
Start plotlib toolbox 0.42
Load macros
Load help
but then when I try to run the previous example, scilab just closes.
In fact I have some problems with scilab-5.2.2, because even a normal
plot bloks it. Can I use plotlib with scilab-4.1.2?
Or is there a way to do the scaling directly in scilab?
Thank you.
On 7 nov, 19:53, Stéphane Mottelet
What graphics card do you have on your computer ?
S.
I read: Mobile Intel(R) 4 Series Express Chipset Family.
Thank you for your help.
On 8 nov, 10:54, Stéphane Mottelet
<stephane.motte...@nospam.gnark.gnark> wrote:
> Le 07/11/10 21:19, Bouchra Bensiali a écrit :
>
> > Thank you for the answer,
>
> > Actually, I thought about this solution but I have some problems with
> > it. I installed plotlib followinghttp://atoms.scilab.org/toolboxes/plotlib/0.42,