Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Labeled Plot not a Plot?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90625] Re: Labeled Plot not a Plot?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 16 Jul 2008 06:30:51 -0400 (EDT)
  • References: <g5hth1$j9m$1@smc.vnet.net>

Hi,

no it is a combination of graphics and floating text. Use PlotLabel
when you need a label for the plot. And clearly TeX/LaTeX has a
\caption{}.

Regards
   Jens

AES wrote:
> My latest hassle arises, so far as I can tell, from doing the following:
> 
>    myPlot = <An ordinary plot>;
> 
>    myLabeledPlot = Labeled[myPlot, "\nMy label string\n", {{Top,Left}}];
> 
>    Print[myLabeled Plot];
> 
>    Export["my_labeled_plot.pdf", myLabeledPlot];
> 
> and then importing my_labeled_plot.pdf into a Tex source file using 
> pdftex.
> 
> The output of the Print[myLabeledPlot] looks fine: just what I want, and 
> all in one cell.
> 
> But when the exported my_labeled_plot.pdf file is either viewed in the 
> TeX'd file or just opened in Acrobat, the label string at top left 
> changes to
> 
>    "\nMy label string\n"
> 
> *including* the quotes.  (All the text labels and Epilog->Text stuff on 
> the plot itself are just fine.)
> 
> What do I need to do?  (I like using Labeled, and would rather not have 
> to give it up.)
> 


  • Prev by Date: Re: Mathematica and "Ruby on Rails"
  • Next by Date: Mathematica slide shows
  • Previous by thread: Re: Labeled Plot not a Plot?
  • Next by thread: Re: Labeled Plot not a Plot?