octave-maintainers
[Top][All Lists]
Advanced

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

Re: Plots in LaTeX


From: Michael D Godfrey
Subject: Re: Plots in LaTeX
Date: Sat, 27 Mar 2010 20:28:14 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3

On 03/27/2010 07:56 PM, Ben Abbott wrote:
I can't tell exactly what you're doing but the following produces the correct result for me.
>> 
>> 	plot (0:10)
>> 	text (5, 5, '$\frac{f}{f_0)$', 'interpreter', 'none')
>> 	print -depslatex test.tex
>> 
>> Note, that the latex part will not be rendered correctly on the screen.
>> 
>> Ben
      
> 
> Ben,
> 
>    That is EXACTLY what I am trying to do!  Thank you!  If you don't mind, can you explain the 'interpreter' and 'none' fields?
> 
> Jason
    
The "interpreter" property may be "none", "tex", or "latex". Currently this only effects the rendering on screen. Also, the property value of "latex" isn't supported.

Ben

  
It may be useful to note that this only works for LaTeX (-depslatex) not TeX (-depstex
fails to produce anything) and only for the gnuplot backend, obviously.

The long-term goal should still be to allow TeX and LaTeX and to display correctly
and included in the .eps or .ps (or .pdf) output for all backends.  This is a substantial
piece of work.

Michael



reply via email to

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