help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Junk" label in legend when plotting over png image


From: Aidan Delaney
Subject: "Junk" label in legend when plotting over png image
Date: Wed, 25 Apr 2007 13:22:39 +0100

Hey all,

Plotting
x=[0:100] 
foo = pngread("foo.png")
image(foo)
plot(sin(x))
legend("sine", -1)

Gives the legend
"-" binary array 128x128 scan=yx etc....
                        sine -----------

where etc.... means some "junk" about the binary image that was just
plotted.  Is there any way of getting rid of the "junk" from the legend?
I've tried
legend(" ", "sine",-1)
in order to give the "junk" the label " " (space character).  But this
does not work.

--
Aidan Delaney



reply via email to

[Prev in Thread] Current Thread [Next in Thread]