plotting maps in scilab 5.2.1 does not work

Peter Wolff wolff at wolffdata.se
Sun Mar 14 13:51:17 CET 2010


Hi list,

The little program below plots a small world map using the appended text 
file 'WorldStrip_NaN.txt'
It works fine in scilabs up to and including 5.2.0 in Vista and XP
It does NOT work in 5.2.1

Do I miss something or is it a bug?  Scilab 5.2.1, Vista

Grateful for advice

PW



//----Program pen-up pen-down by separator NaN (not a Number)-------

myfile=uigetfile('*');    //load WorldStrip_NaN.txt
txt=mgetl(myfile);
txt=strsubst(txt,'NaN','%inf');   // subst %inf for NaN

data=evstr(txt);
long=data(:,1);
lat=data(:,2);

f1=scf(1);clf(1);f1.figure_size=[700,500];
plot2d(long,lat,style=5); xgrid();

//-------------------- end ----------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WorldStrip_NaN.txt
URL: <https://lists.scilab.org/pipermail/users/attachments/20100314/8f583a7a/attachment.txt>


More information about the users mailing list