Computer Science, asked by AbdulHafeezAhmed, 5 months ago

❌No spam or rubbish answers❌: Can somebody give me a code how to insert a graph in Python?

Answers

Answered by bedikajoshi90
2

Answer:

▪︎Following steps were followed:

1. Define the x-axis and corresponding y-axis values as lists.

2. Plot them on canvas using . plot() function.

3. Give a name to x-axis and y-axis using . xlabel() and . ylabel() functions.

5. Give a title to your plot using . title() function.

6. Finally, to view your plot, we use . show() function.

HOPE THIS WILL HELP YOU BUDDY...☺️☺️

Answered by shreyasSS32
2

Answer:

Define the x-axis and corresponding y-axis values as lists.

Plot them on canvas using . plot() function.

Give a name to x-axis and y-axis using . xlabel() and . ylabel() functions.

Give a title to your plot using . title() function.

Finally, to view your plot, we use . show() function.

Explanation:

If you liked my answer then pls mark it as brainliest and plz follow me

⚠️Mark as brainliest ⚠️

⚠️ Follow me ⚠️

⚠️Thank my answer ❤️⚠️

Similar questions