saving . . . saved Multiple plots has been deleted. Multiple plots has been hidden .
Multiple plots
Title
Question
How we can modify or any changes in figure(1) ,figure(2) ? and How to delete the any figure from the console?

Python-3.4.3 Multiple-plots 01-02 min 10-20 sec 21-11-20, 8:15 p.m. shahil.chavan1998@gmail.com

Answers:

You have to assign the plots to a variable to be able to reference them later and make any changes

SImilarly, You need to store the plot command in a variable and use remove method to clear the specific plot. For e.g. x = linspace(0, 2*pi, 50) a = plot(x, sin(x)) b = plot(x, cos(x)) Let's say we want to remove the sine plot stored in the variable a. Just type a[0].remove(). This will remove the sine plot but the cosine plot is still present.
03-12-20, 12:11 p.m. ankitrj.iitb


Log-in to answer to this question.