Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gnuplot.close(f) not working #40

Open
aschoenauer-sebag opened this issue Dec 19, 2016 · 0 comments
Open

gnuplot.close(f) not working #40

aschoenauer-sebag opened this issue Dec 19, 2016 · 0 comments

Comments

@aschoenauer-sebag
Copy link

aschoenauer-sebag commented Dec 19, 2016

Hi,

I'd like to follow some parameters during training and hence every statinterval iterations plot their evolutions up to that point. Here is how I decided to do that:

if math.fmod(t, statinterval) == 0 then
 f1= gnuplot.figure()
 gnuplot.plot({'Param', torch.Tensor(paramlist), '-'})
end

To avoid having thousands of plots, I tried to add gnuplot.close() or gnuplot.close(f1) before creating a new plot but it does not have any consequences. Is this a bug or am I misusing gnuplot.close? Thanks!

Update
Picking a plot id makes the plot be interactively updated (ie f = gnuplot.figure(1)). Still, the close function does not seem to work although I don't really need it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant