Bug in Plot (PlotLabel)
- To: mathgroup at yoda.ncsa.uiuc.edu
- Subject: Bug in Plot (PlotLabel)
- From: van-bc!mdivax1!kenward (Gary Kenward)
- Date: Mon, 17 Dec 90 09:27:55 PST
The following function invocation works as would be expected:
Plot[x,{x,1,10}, PlotLabel->"This is a test of a bug\n"]
However, if there is nothing but spaces (one or more) trailing the line feed,
the plot is shifted out of the frame, either partially, or completely:
Plot[x,{x,1,10}, PlotLabel->"This is a test of a bug\n "]
On the other hand, if there is another "printable" character in the
string, the plot comes out as expected (I assume "printable"; I have
not tested all characters, in fact, I have only tested ".").
Plot[x,{x,1,10}, PlotLabel->"This is a test of a bug\n . "]
Gary W. Kenward
Mobile Data International, Inc.
a Motorola company