Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1990
*January
*February
*March
*April
*May
*June
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1990

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: replace by value in expr
  • Next by Date: Second Call for Papers ISSAC 91
  • Previous by thread: Re: replace by value in expr
  • Next by thread: Second Call for Papers ISSAC 91