YouTube Tutorial: https://youtu.be/TRbWjocJ2ZI
What You'll Learn: How to create visually appealing plots with grid lines using SageMath in a Jupyter notebook on the CoCalc platform. Learn to specify functions, define domains, and customize your plots with a few simple lines of code.
Transcription:
Hello everyone, my name is Blaec Bejarano. Today, I'll show you how to create plots with grid lines using SageMath in a Jupyter notebook on the CoCalc platform.
Log in to your account at cocalc.com and open your desired project.
Create a new Jupyter notebook by clicking on the "+New" button and selecting "Jupyter Notebook". Name your notebook and choose the SageMath kernel.
In a code cell, use the
plot()function to define your desired function. In this example, we'll plot :Specify the function you want to plot, e.g.,
x^5.Define the domain using tuple notation
(x, start, end), e.g.,(x, 1, 16).Add the
gridlinesparameter and set it to'minor'to display grid lines on the plot.
Click the run button or press Shift+Enter to execute the code cell and view your plot with grid lines.
ubuntu2204