Re: Matlab contourf function query
Pete Symons wrote:
> Hi,
>
> I'm plotting a matrix with the contourf function. As this matrix represents
> a signal spectrum there are many distinct peaks. When viewed as a 2D filled
> contour plot some of the contour lines are so close together near the
> spectral peaks as to appear like black bands across the plot. Is there any
> way I can turn the black contour lines off and leave just the coloured
> contour regions?
>
> Thanks in advance,
>
> Pete
>
>
Just in case you didn't catch this when you posted the identical
query to comp.soft-sys.matlab (which would have been the correct
place to put it):
I'm not sure this is the quickest way, but contourf will return handles
to the contours:
[mumble, H, grumble] = contourf(thingo);
for q=1:length(H)
set(H(q),'LineStyle','none')
end
Dale.
|