Is there the way to close previous plotting window when I input the second plotting command.

asked 2014-11-25 04:26:42 -0600

anonymous user

Anonymous

Hello.

The title is my question.

I am using SAGE in terminal of Mac OSX.

When I input the latter plotting command NEW plotting window opens.

For example,

sage: G=graphs.CompleteGraph(2)
sage: G.plot()                    <--------- the first window open
sage: G.add_vertex(3)
sage: G.plot()                    <--------- the second window open

I want to view only one plotting window.

How can I do?

edit retag flag offensive close merge delete

Comments

I don't think this is possible without changing some inner workings of how we pop up plots. For such a situation, the notebook interface is ideal.

kcrisman gravatar imagekcrisman ( 2014-11-25 07:41:05 -0600 )edit