Einführung
In diesem Lab werden wir lernen, wie man in Matplotlib multicolore Linien erstellt. Wir werden die LineCollection
-Funktion verwenden, um eine Reihe von Liniensegmenten zu erstellen und diese individuell nach ihrer Ableitung zu färben. Wir werden auch lernen, wie man eine Grenz-Norm verwendet, um die Liniensegmente zu färben.
VM-Tipps
Nachdem der VM-Start abgeschlossen ist, klicken Sie in der oberen linken Ecke, um zur Registerkarte Notebook zu wechseln und Jupyter Notebook für die Übung zu nutzen.
Manchmal müssen Sie einige Sekunden warten, bis Jupyter Notebook vollständig geladen ist. Die Validierung von Vorgängen kann aufgrund von Einschränkungen in Jupyter Notebook nicht automatisiert werden.
Wenn Sie bei der Lernphase Probleme haben, können Sie Labby gerne fragen. Geben Sie nach der Sitzung Feedback, und wir werden das Problem für Sie prompt beheben.
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
python(("Python")) -.-> python/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
python(("Python")) -.-> python/FunctionsGroup(["Functions"])
python(("Python")) -.-> python/ModulesandPackagesGroup(["Modules and Packages"])
python(("Python")) -.-> python/DataScienceandMachineLearningGroup(["Data Science and Machine Learning"])
matplotlib/BasicConceptsGroup -.-> matplotlib/importing_matplotlib("Importing Matplotlib")
matplotlib/BasicConceptsGroup -.-> matplotlib/figures_axes("Understanding Figures and Axes")
python/BasicConceptsGroup -.-> python/booleans("Booleans")
python/DataStructuresGroup -.-> python/lists("Lists")
python/DataStructuresGroup -.-> python/tuples("Tuples")
python/FunctionsGroup -.-> python/build_in_functions("Build-in Functions")
python/ModulesandPackagesGroup -.-> python/importing_modules("Importing Modules")
python/DataScienceandMachineLearningGroup -.-> python/numerical_computing("Numerical Computing")
python/DataScienceandMachineLearningGroup -.-> python/data_visualization("Data Visualization")
subgraph Lab Skills
matplotlib/importing_matplotlib -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
matplotlib/figures_axes -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
python/booleans -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
python/lists -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
python/tuples -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
python/build_in_functions -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
python/importing_modules -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
python/numerical_computing -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
python/data_visualization -.-> lab-48836{{"Erstelle multicolore Matplotlib-Linien"}}
end