pcolor/plot: marker is hidden

View: New views
3 Messages — Rating Filter:   Alert me  

pcolor/plot: marker is hidden

by Eric Chassande-Mottin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[x,y,z]=peaks(10);
h1 = pcolor(x,y,z);shading flat;hold on;
h=plot(0,0,'+');

the marker does not appear

set(h,'markersize',1000);

it is "behind" the map

[clev,h2] = contour(x,y,z,5);

the marker appears now in front.

octave:38> version
ans = 3.0.0
gnuplot

        G N U P L O T
        Version 4.2 patchlevel 2
        last modified 31 Aug 2007

Re: pcolor/plot: marker is hidden

by kahacjde :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric Chassande-Mottin schrieb:

> [x,y,z]=peaks(10);
> h1 = pcolor(x,y,z);shading flat;hold on;
> h=plot(0,0,'+');
>
> the marker does not appear
>
> set(h,'markersize',1000);
>
> it is "behind" the map
>
> [clev,h2] = contour(x,y,z,5);
>
> the marker appears now in front.
>
> octave:38> version
> ans = 3.0.0
> gnuplot
>
> G N U P L O T
> Version 4.2 patchlevel 2
> last modified 31 Aug 2007
>
>  
Hello Eric,

[x,y,z]=peaks(10);
h1 = pcolor(x,y,z);shading flat;hold on;
h=plot(0,0,'+');

works for me as expected. Maybe you should update to the most recent
versions of octave (3.0.1) and gnuplot (4.2.3)

Kai
_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave

Re: pcolor/plot: marker is hidden

by David Bateman-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric Chassande-Mottin wrote:

> [x,y,z]=peaks(10);
> h1 = pcolor(x,y,z);shading flat;hold on;
> h=plot(0,0,'+');
>
> the marker does not appear
>
> set(h,'markersize',1000);
>
> it is "behind" the map
>
> [clev,h2] = contour(x,y,z,5);
>
> the marker appears now in front.
>
> octave:38> version
> ans = 3.0.0
> gnuplot
>
> G N U P L O T
> Version 4.2 patchlevel 2
> last modified 31 Aug 2007
>

Yeah I know, there was a fix for this soon after the release of 3.0.0
and a fix for the problem with plot3 that was introduced by the original
fix just before the release of 3.0.1.. Works fine in both 3.0.1 and
3.1.x on my system.

D.

_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www.cae.wisc.edu/mailman/listinfo/bug-octave