MathGroup Archive 2008

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

Search the Archive

Re: Print[Plot] vs Print[text,Plot]?

  • To: mathgroup at
  • Subject: [mg87941] Re: Print[Plot] vs Print[text,Plot]?
  • From: Szabolcs Horvát <szhorvat at>
  • Date: Mon, 21 Apr 2008 03:23:02 -0400 (EDT)
  • Organization: University of Bergen
  • References: <fueep7$bai$>

AES wrote:
> I've just executed a test cell containing
>    Print[Plot[---]];
>    Print["Some text\n", Plot[---]];
> (same simple plot in both lines; objective of 2nd line being to get the 
> text and the plot -- eventually several plots -- into the same output 
> cell)
> Result from first line is expected plot; result from second line is a 
> miniaturized plot about 1/4 the size of the first one.
> *  This is sensible or useful?

Yes, I think that it is useful that Mathematica descreases the size of graphics 
inlined in text.  The same thing happens when you start typing in a cell 
that already contains a single graphic.  In my subjective opinion, it 
would be really annyoing if the size weren't decreased automatically.

> *  This is what a novice user should expect as consistent 
>     and reasonable behavior from the above commands?
>     (Print[Plot] doesn't do the same thing with a given Plot
>     as does Print[----, Plot[], ----] ???)
> *  This is documented --or better, warned about -- where?  
>     (since it looks like I'll have to, once again, step aside from 
>       attempting to accomplish anything useful with 6.0 and 
>      burn up more time digging into its arcane documentation,  
>      trying to understand this.  Apologies for the sarcasm --
>      but that's the way it feels.)

Why don't you just use separate Print[] commands instead, to create 
separate cells?  Or even better: avoid Print[] entirely, if possible. 
(Yes, I know that Print[]ing graphics is useful sometimes, but if all 
you need is an output with multiple plots, use Column instead.)

  • Prev by Date: Re: Comments on the .m file editor
  • Next by Date: Re: axis alignment of 3D plots with ListContourPlot3D
  • Previous by thread: Re: Print[Plot] vs Print[text,Plot]?
  • Next by thread: Re: Print[Plot] vs Print[text,Plot]?