<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hello everyone,</div>
<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>Thank you guys in advance!!!!</div>
<div>Larissa</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Freitag, 12. Juli 2013 um 04:56 Uhr<br/>
<b>Von:</b> Chuox <chuox.bece@gmail.com><br/>
<b>An:</b> users@lists.scilab.org<br/>
<b>Betreff:</b> Re: [Scilab-users] Integrating SciLab and EPANET (.dll written in C/C++)</div>
<div name="quoted-content">Cheers! I found this in the EPANET toolkit help:<br/>
<br/>
An example of using these functions is shown below.<br/>
<br/>
char *f1, /* Name of input file */<br/>
*f2, /* name of report file */<br/>
*f3; /* name of output file (can be blank) */<br/>
int errcode;<br/>
errcode = ENopen(f1, f2, f3);<br/>
if (errcode > 0) {<br/>
ENclose();<br/>
return;<br/>
}<br/>
{ Call functions that perform desired analysis }<br/>
ENclose()<br/>
<br/>
So... the correct use of the ENopen function should be something like this:<br/>
<br/>
errorcode=call("ENopen","C:\Users\Alfredo\Google<br/>
Drive\Tesis\SciLab\Net1.inp",1,"c","temp1.$$$",2,"c","",3,"c","out",[1,1],4,"i")<br/>
<br/>
errorcode = 1<br/>
<br/>
It Should be errorcode = 0 , so maybe im still doing something wrong.<br/>
<br/>
<br/>
<br/>
<br/>
--<br/>
View this message in context: <a href="http://mailinglists.scilab.org/Integrating-SciLab-and-EPANET-dll-written-in-C-C-tp4026977p4027020.html" target="_blank">http://mailinglists.scilab.org/Integrating-SciLab-and-EPANET-dll-written-in-C-C-tp4026977p4027020.html</a><br/>
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.<br/>
_______________________________________________<br/>
users mailing list<br/>
users@lists.scilab.org<br/>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a></div>
</div>
</div>
</div></div></body></html>