Output from Gnuplot to xfig

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Output from Gnuplot to xfig

Mario Storti-3

Hi Octavers!

This question is  more specific to Gnuplot, but  I hope that there  is
people in the list that can help me.

I want to take the output of the plots  of Octave and "edit" them with
xfig.  I looked up  in the man page  and  interactive help for Gnuplot
with no  success for a "xfig terminal"  BUT... yesterday,  I found the
following in the "help set size" of Gnuplot:

>>        G N U P L O T
>>        Linux version 3.5
>>        patchlevel 3.50.1.17, 27 Aug 93
>>        last modified Fri Aug 27 05:21:33 GMT 1993
>>
>>        Copyright(C) 1986 - 1993   Colin Kelley, Thomas Williams
>>
>>        Send comments and requests for help to
>>[hidden email]
>>        Send bugs, suggestions and mods to [hidden email]
>>
>>Terminal type set to 'x11'
>>gnuplot> help set size
>> The `set size` command scales the displayed size of the plot.  On some
>> terminals, changing the size of the plot will result in text being
>>
(...)
>> For the LaTeX and Fig terminals the default size (scale factor 1,1)
                     ^^^
>> is 5 inches wide by 3 inches high. The big Fig terminal (`bfig`) is 7
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> inches wide by 5 inches high. The postscript default is landscape mode
>> 10 inches wide and 7 inches high.
>> Note that the size of the plot includes the space used by the labels;
>> the plotting area itself is smaller.
 
It seems to me that this  "Fig" and "bfig"  terminals to whom the help
section makes reference are related to xfig.

Does anyone  know  something  about this,  or   another way  to handle
Gnuplot output with xfig?

TIA

Mario

%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%
Mario Alberto Storti               | Fax: (54)(42) 55.09.44               |
Grupo de Tecnologia Mecanica       | Tel: (54)(42) 55.91.75               |
INTEC, Guemes 3450 - 3000 Santa Fe | http://venus.unl.edu.ar/gtm-eng.html |
Argentina                          | Home: Gob. Vera 3161                 |
Reply: [hidden email]  |       (54)(42) 55.00.23              |

Reply | Threaded
Open this post in threaded view
|

Re: Output from Gnuplot to xfig

Dutt, Vinayak, Ph.D.
Mario wrote:
#
#This question is  more specific to Gnuplot, but  I hope that there  is
#people in the list that can help me.
#
#I want to take the output of the plots  of Octave and "edit" them with
#xfig.  I looked up  in the man page  and  interactive help for Gnuplot
#with no  success for a "xfig terminal"  BUT... yesterday,  I found the
#following in the "help set size" of Gnuplot:
#
#Does anyone  know  something  about this,  or   another way  to handle
#Gnuplot output with xfig?
#

gnuplot does have a fig driver. by default it is not included. so
you will have to select that when you compile gnuplot. i have compiled
gnuplot with fig driver (though never used it).

Vinayak Dutt

Ultrasound/Radiology Research
Mayo Clinic
Rochester MN 55905
E-Mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Output from Gnuplot to xfig

Mario Storti-3
In reply to this post by Mario Storti-3

Regarding my  previous posting about  outputing from Octave/Gnuplot to
xfig, thanks for all the answers. I downloaded the Gnuplot sources and
tried to compile with no success (I guessI  tried not hard enough ;-).
Then   I realized  that  Gnuplot  supports  output to  another drawing
program called Tgif. I installed it (very  easy. indeed!!) and am very
happy with it. It allows me to edit Octave output and create very nice
graphs.

Has someone else experience with xfig, Tgif or another drawing editor?

Mario

%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%%%%<>%%%
Mario Alberto Storti               | Fax: (54)(42) 55.09.44               |
Grupo de Tecnologia Mecanica       | Tel: (54)(42) 55.91.75               |
INTEC, Guemes 3450 - 3000 Santa Fe | http://venus.unl.edu.ar/gtm-eng.html |
Argentina                          | Home: Gob. Vera 3161                 |
Reply: [hidden email]  |       (54)(42) 55.00.23              |

Reply | Threaded
Open this post in threaded view
|

Re: Output from Gnuplot to xfig

Dutt, Vinayak, Ph.D.
In reply to this post by Mario Storti-3

Mario wrote:
#
#Regarding my  previous posting about  outputing from Octave/Gnuplot to
#xfig, thanks for all the answers. I downloaded the Gnuplot sources and
#tried to compile with no success (I guessI  tried not hard enough ;-).
#Then   I realized  that  Gnuplot  supports  output to  another drawing
#program called Tgif. I installed it (very  easy. indeed!!) and am very
#happy with it. It allows me to edit Octave output and create very nice
#graphs.
#


hmm. thats interesting. i did not have any problems in compiling gnuplot
with xfig driver. in my experience, gnuplot has one of the most painless
installation of freely distributed software. i have made fig plots as a test
of the driver and it seems to work well. its just that i have never made
fig plots for my academic/research use as of yet. but as far as i can tell,
the driver seems to be just fine.

#
#Has someone else experience with xfig, Tgif or another drawing editor?
#

i use xfig routinely. and i find it a real useful tool for my work.



Vinayak Dutt

Ultrasound/Radiology Research
Mayo Clinic
Rochester MN 55905
E-Mail: [hidden email]