Set Ticks and Limits
Opgave
Swipe to start coding
Using the .set()
function, set the following parameters:
- limit values on the x-axis to
(0, 30000)
; - limit values on the y-axis to
(40, 80)
; - set ticks on the x-axis so that they will have a step of
5000
(for instance,0, 5000, 10000, 15000, ...
). You can use thenp.arange(start, end, step)
function there. It will generate numbers fromstart
toend
with the step ofstep
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 3. Kapitel 4
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 2.94
Set Ticks and Limits
Stryg for at vise menuen
Opgave
Swipe to start coding
Using the .set()
function, set the following parameters:
- limit values on the x-axis to
(0, 30000)
; - limit values on the y-axis to
(40, 80)
; - set ticks on the x-axis so that they will have a step of
5000
(for instance,0, 5000, 10000, 15000, ...
). You can use thenp.arange(start, end, step)
function there. It will generate numbers fromstart
toend
with the step ofstep
.
Løsning
Var alt klart?
Tak for dine kommentarer!
Awesome!
Completion rate improved to 2.94Sektion 3. Kapitel 4
single