• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 9

How can I change x Axis to range -10 to 10

https://code.sololearn.com/cdUo7vbj98S4/?ref=app

pythonmatplotlib
5th Apr 2021, 4:24 PM
Oma Falk
Oma Falk - avatar
4 Réponses
+ 4
Mihai Apostol not yet see code
5th Apr 2021, 4:36 PM
Oma Falk
Oma Falk - avatar
+ 3
plt.xlim(-10, 10)
5th Apr 2021, 4:29 PM
Mihai Apostol
Mihai Apostol - avatar
+ 3
shouldn't it be like this plt.xlim([-10, 10])? https://stackoverflow.com/questions/29337123/how-to-change-the-range-of-the-x-axis-and-y-axis-in-matlibplot
5th Apr 2021, 5:09 PM
minirkk
minirkk - avatar
+ 3
Rohit nope....same result
5th Apr 2021, 5:18 PM
Oma Falk
Oma Falk - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Is this realistic enough?
1 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
Need friends
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
I am a beginner, please teach me how to use Python
0 Votes
Web Development
0 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
Python
1 Votes
Can someone please explain python for me
0 Votes