Menu

xfig features question

mk
2017-10-07
2017-10-07
  • mk

    mk - 2017-10-07

    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

     
  • mk

    mk - 2017-10-07

    Never mind the first one. The 'autorefresh' option exists for that.

     
  • tkl

    tkl - 2017-10-07

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.