<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.23507"></HEAD>
<BODY>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2 face=Arial>Hi
Larissa,</FONT></SPAN></DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2 face=Arial>I'm no
expert on this, but have you tried changing the data_bounds for the figure's
children independently? I think if you just set the colorbar limits with
colorbar(a,b), that only changes the legend on the bar
itself.</FONT></SPAN></DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2 face=Arial>Try
f=gcf(); then look at f.children(1),data_bounds or
f.children(2).data_bounds. I think one will be for the plot and the other
for the colorbar. If you change these limits directly you may get the
effect you are looking for.</FONT></SPAN></DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2 face=Arial>Sorry
if I misunderstood your question.</FONT></SPAN></DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2
face=Arial>Mike.</FONT></SPAN></DIV>
<DIV><SPAN class=343230409-16072013><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>-----Original Message-----<BR><B>From:</B>
users-bounces@lists.scilab.org [mailto:users-bounces@lists.scilab.org]<B>On
Behalf Of </B>Larissa Schultze<BR><B>Sent:</B> 16 July 2013
08:48<BR><B>To:</B> International users mailing list for
Scilab.<BR><B>Subject:</B> Re: [Scilab-users] Colorbar_same color code,
different graphs<BR><BR></FONT></DIV>
<DIV style="FONT-FAMILY: Verdana; FONT-SIZE: 12px">
<DIV
style="BORDER-LEFT: #c3d9e5 2px solid; PADDING-BOTTOM: 10px; MARGIN: 10px 5px 5px 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; WORD-WRAP: break-word; PADDING-TOP: 10px; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
name="quote"><SPAN style="LINE-HEIGHT: 1.6em">Hello everyone,</SPAN>
<DIV name="quoted-content">
<DIV style="FONT-FAMILY: Verdana; FONT-SIZE: 12px">
<DIV> </DIV>
<DIV>I have to plot several graphs with measurements ranging from 6 to 1300. I
would like that these graphs obey the same color code, so that, in the example
of jetcolormap, "1300" would always be dark red and "0" would always be dark
blue for each graph. Now the values that I have for the different graphs are
quite diverse: graph 1 has values ranging between "6" and "68" whereas graph 6
has values between "600" and "1300".</DIV>
<DIV> </DIV>
<DIV>How can I manage that the colorbar and the colorcode for both these
graphs remains the same? (in this case, graph 1 would presumably have only a
gradient of dark blue colors and graph 6 would have rather orange to red
colors)</DIV>
<DIV>I tried changing the command of colorbar to "colorbar(0,1300)", but it
didn't work at all...so I thought may be someone could give me a hint on how I
would be able to align the color code these graphs...</DIV>
<DIV> </DIV>
<DIV>I put an example of my tables on the annex as well as the scilab commands
that I have been using for that. I simply need the values of both tables to be
registered according to one color code (1300=dark red, 6=dark blue)...I would
appreciate it a lot if someone could help me. :) </DIV>
<DIV> </DIV>
<DIV>Thank you guys in advance!!!!</DIV>
<DIV>Larissa</DIV>
<DIV>
<DIV
style="BORDER-LEFT: rgb(195,217,229) 2px solid; PADDING-BOTTOM: 10px; MARGIN: 10px 5px 5px 10px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; PADDING-TOP: 10px"> </DIV></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>