Would it be possible to add the following to xfig:
1. reload button - e.g., if the file that xfig loaded has been
manipulated by other program, then instruct xfig to reload it, rather
then closing xfig, and opening it with new file?
2. plotting through pipe (that xfig can be instructed through pipe say
- draw such and such object)?
The reason I am asking this questions is that I have written basic
library for rlabplus that creates an xfig object and puts different
objects (lines, pictures) on it, and having some of the features above
would definitely speed up the development.
ad 1.: Besides autorefresh, pressing "Open.. " and choosing the current figure also reloads the figure.
ad 2.: Do you refer to writing any of the output formats to a pipe, or saving a .fig-file to a pipe? The former is easy: Xfig really calls its backend program, called fig2dev. Fig2dev can be invoked from the command line and can write to a pipe. For instance, try cat sketch.fig | fig2dev -L eps > sketch.eps .
Thanks for using xfig. Enjoy!
Yours,
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
All,
Would it be possible to add the following to xfig:
1. reload button - e.g., if the file that xfig loaded has been
manipulated by other program, then instruct xfig to reload it, rather
then closing xfig, and opening it with new file?
2. plotting through pipe (that xfig can be instructed through pipe say
- draw such and such object)?
The reason I am asking this questions is that I have written basic
library for rlabplus that creates an xfig object and puts different
objects (lines, pictures) on it, and having some of the features above
would definitely speed up the development.
Regards,
mj
Never mind the first one. The 'autorefresh' option exists for that.
Hi mk,
ad 1.: Besides autorefresh, pressing "Open.. " and choosing the current figure also reloads the figure.
ad 2.: Do you refer to writing any of the output formats to a pipe, or saving a .fig-file to a pipe? The former is easy: Xfig really calls its backend program, called fig2dev. Fig2dev can be invoked from the command line and can write to a pipe. For instance, try
cat sketch.fig | fig2dev -L eps > sketch.eps
.Thanks for using xfig. Enjoy!
Yours,
Thomas