summaryrefslogtreecommitdiffstats
path: root/scilab/modules/graphics
diff options
context:
space:
mode:
authorPierre MARECHAL <pierre.marechal@scilab.org>2010-03-08 11:05:34 +0100
committerPierre MARECHAL <pierre.marechal@scilab.org>2010-03-08 11:05:34 +0100
commit1a8f3963cc65e64e58b3ed77e58f5b094bf81730 (patch)
tree1985dfe4bb43e878ff7292a703421d09d794e5ac /scilab/modules/graphics
parent8c05ab903aab0245bf56439f3d571a06cd07d745 (diff)
parent79dbbc982a6c774d9f7ecf99859172ebaa676c1a (diff)
downloadscilab-1a8f3963cc65e64e58b3ed77e58f5b094bf81730.zip
scilab-1a8f3963cc65e64e58b3ed77e58f5b094bf81730.tar.gz
Merge commit 'origin/5.2'
Diffstat (limited to 'scilab/modules/graphics')
-rw-r--r--scilab/modules/graphics/macros/%h_load.sci10
1 files changed, 9 insertions, 1 deletions
diff --git a/scilab/modules/graphics/macros/%h_load.sci b/scilab/modules/graphics/macros/%h_load.sci
index 1937620..1a016cb 100644
--- a/scilab/modules/graphics/macros/%h_load.sci
+++ b/scilab/modules/graphics/macros/%h_load.sci
@@ -1291,7 +1291,15 @@ function [h,immediate_drawing] = load_graphichandle(fd)
1291 xtics_coord = mget(nx,'dl',fd)' 1291 xtics_coord = mget(nx,'dl',fd)'
1292 ny = mget(1,'il',fd) // ytics_coord 1292 ny = mget(1,'il',fd) // ytics_coord
1293 ytics_coord = mget(ny,'dl',fd)' 1293 ytics_coord = mget(ny,'dl',fd)'
1294 if nx>1 then axisdir='u',else axisdir='l',end 1294
1295 if tics_direction == "bottom" then axisdir='d';
1296 elseif tics_direction == "top" then axisdir='u';
1297 elseif tics_direction == "left" then axisdir='l';
1298 elseif tics_direction == "right" then axisdir='r';
1299 elseif nx>1 then axisdir='u';
1300 else axisdir='l';
1301 end
1302
1295 drawaxis(x=xtics_coord,y=ytics_coord,dir=axisdir); 1303 drawaxis(x=xtics_coord,y=ytics_coord,dir=axisdir);
1296 h=gce() 1304 h=gce()
1297 1305