[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autosaving plots after each modification
From: |
Ben Abbott |
Subject: |
Re: Autosaving plots after each modification |
Date: |
Wed, 11 Feb 2015 19:36:36 -0500 |
> On Feb 11, 2015, at 1:39 PM, Alex K <address@hidden> wrote:
>
> Hi!
>
> Is it possible to run a custom function every time any plot is changed? For
> example, when running `plot`, `axis` etc., if they modify a figure on the
> screen I would like to detect that and save it to a new file.
>
> I use gnuplot as backend, so any solution involving configuring gnuplot will
> also work for me.
>
> Thanks!
> Alex
If you can provide mode details, someone may have a more efficient solution …
but for a general solution I’d add a listener to the figures “children”
property.
See “help addlistener” to see how to do that.
Ben
- Autosaving plots after each modification, Alex K, 2015/02/11
- Re: Autosaving plots after each modification,
Ben Abbott <=
- Re: Autosaving plots after each modification, Alex K, 2015/02/13
- Re: Autosaving plots after each modification, Ben Abbott, 2015/02/13
- Re: Autosaving plots after each modification, Ben Abbott, 2015/02/13
- Re: Autosaving plots after each modification, Alex K, 2015/02/18
- Re: Autosaving plots after each modification, Ben Abbott, 2015/02/18
- Re: Autosaving plots after each modification, Alex K, 2015/02/20
- Re: Autosaving plots after each modification, Ben Abbott, 2015/02/20