简介
在本实验中,你将学习如何使用 Python Matplotlib 创建带有图例的极坐标图。极坐标图用于在极坐标系中绘制数据,这在处理方向数据时非常有用。图例用于解释图上不同线条或标记的含义。
虚拟机使用提示
虚拟机启动完成后,点击左上角切换到“笔记本”标签,以访问 Jupyter Notebook 进行练习。
有时,你可能需要等待几秒钟让 Jupyter Notebook 完成加载。由于 Jupyter Notebook 的限制,操作验证无法自动化。
如果你在学习过程中遇到问题,随时向 Labby 提问。课程结束后提供反馈,我们将立即为你解决问题。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
matplotlib(("Matplotlib")) -.-> matplotlib/BasicConceptsGroup(["Basic Concepts"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlottingDataGroup(["Plotting Data"])
python(("Python")) -.-> python/DataStructuresGroup(["Data Structures"])
matplotlib(("Matplotlib")) -.-> matplotlib/PlotCustomizationGroup(["Plot Customization"])
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")
matplotlib/PlottingDataGroup -.-> matplotlib/line_plots("Line Plots")
python/DataStructuresGroup -.-> python/tuples("Tuples")
matplotlib/PlotCustomizationGroup -.-> matplotlib/legend_config("Legend Configuration")
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-48874{{"带图例的极坐标图"}}
matplotlib/figures_axes -.-> lab-48874{{"带图例的极坐标图"}}
matplotlib/line_plots -.-> lab-48874{{"带图例的极坐标图"}}
python/tuples -.-> lab-48874{{"带图例的极坐标图"}}
matplotlib/legend_config -.-> lab-48874{{"带图例的极坐标图"}}
python/importing_modules -.-> lab-48874{{"带图例的极坐标图"}}
python/numerical_computing -.-> lab-48874{{"带图例的极坐标图"}}
python/data_visualization -.-> lab-48874{{"带图例的极坐标图"}}
end