Hello everyone,
 
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".
 
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)
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...
 
Thank you guys in advance!!!!
Larissa
 
 
 
 
 
 
 
Gesendet: Freitag, 12. Juli 2013 um 04:56 Uhr
Von: Chuox <[email protected]>
An: [email protected]
Betreff: Re: [Scilab-users] Integrating SciLab and EPANET (.dll written in C/C++)
Cheers! I found this in the EPANET toolkit help:

An example of using these functions is shown below.

char *f1, /* Name of input file */
*f2, /* name of report file */
*f3; /* name of output file (can be blank) */
int errcode;
errcode = ENopen(f1, f2, f3);
if (errcode > 0) {
ENclose();
return;
}
{ Call functions that perform desired analysis }
ENclose()

So... the correct use of the ENopen function should be something like this:

errorcode=call("ENopen","C:\Users\Alfredo\Google
Drive\Tesis\SciLab\Net1.inp",1,"c","temp1.$$$",2,"c","",3,"c","out",[1,1],4,"i")

errorcode = 1

It Should be errorcode = 0 , so maybe im still doing something wrong.




--
View this message in context: http://mailinglists.scilab.org/Integrating-SciLab-and-EPANET-dll-written-in-C-C-tp4026977p4027020.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to