Parsing error when use hold on function with imagesc or image functions.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Parsing error when use hold on function with imagesc or image functions.

crfalc
Hi, my friends.

clf;
colormap ('default');
hold on;
imagesc (1 ./ hilb (2));
imagesc (1 ./ hilb (4));
imagesc (1 ./ hilb (8));
hold off;

When I use the function "hold on" and call to three imagesc functions or image or imshow Octave reports a bug:

multiplot> plot "-" binary array=4x4 scan=yx origin=(1,1) dx=1 dy=1 using 1 title "" with image , "-" binary array=8x8 scan=yx origin=(1,1) dx=1 dy=1 using 1 title "" with image; , "-" binary array=16x16 scan=yx origin=(1,1) dx=1 dy=1 using 1 title "" with image; ;

line 6: invalid command

This occurs when using Octave installed on a terminal. In Octave with IDE does not occur.

Someone can help . . .

Thank you.