[Top][All Lists]

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

Creating figures with Octave Plot

From: John W. Eaton
Subject: Creating figures with Octave Plot
Date: Thu, 23 Sep 2010 14:43:34 -0400

On 23-Sep-2010, Ian Journeaux wrote:

| I am trying to create plots in Octave that I can use in a LaTeX report I am
| creating. 
| When I try and output the graph to a JPG or PNG file using the command
|               print((1),T1,'-djpg');
| the chart looks correct. Basically a square graph.
| I would like the graphs to be rectangular with the x-axis about 2x the
| length of the y-axis. If I try using a '-S640,240' type option, the graph
| title and x-axis label get truncated. 
| Is using the -S option the correct approach? I am just saving the figure out
| so I can include it in a latex report.

PNG, JPEG or other fixed-resolution bitmap formats are not really the
best for this job.

I've always used (e)pslatex with good results.  TikZ is newer and also
looks like a good way to go if you want good quality results.


reply via email to

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