graphics_test
02-May-2019 12:41:47
graphics_test:
MATLAB version
Test graphics demonstrations.
album_bar:
MATLAB version
Read a data file of yearly music album sales.
Display the data as a bar plot.
Graphics saved as "album_bar.png"
album_bar:
Normal end of execution.
automobile_prepare
MATLAB version
Read a CSV data file of automobile characteristics.
Save a TXT file of prices and weights only.
Data saved as "automobile_data.txt"
automobile_prepare:
Normal end of execution.
automobile_scatter
MATLAB version
Read a data file of automobile prices and weights.
Make a scatter plot of pairs of data.
Graphics saved as "automobile_scatter.png"
automobile_scatter:
Normal end of execution.
basketball_barh
MATLAB version.
Create a horizontal bar char from data read using
the MATLAB command readtable(filename), which
can be used to read a data file containing data in columns
some numeric, and some text.
Graphics saved as "basketball_barh.png".
basketball_barh
Normal end of execution.
02-May-2019 12:41:48
brownian_2d_plot:
MATLAB version
Plot Brownian motion in two dimensions.
Graphics saved as "brownian_2d_plot.png".
brownian_2d_plot:
Normal end of execution.
02-May-2019 12:41:49
02-May-2019 12:41:49
brownian_2d_simulate:
MATLAB version
Simulate Brownian motion in two dimensions.
Data saved as "brownian_2d_data.txt"
brownian_2d_simulate:
Normal end of execution.
02-May-2019 12:41:49
02-May-2019 12:41:49
brownian_animation:
MATLAB version
Simulate and plot Brownian motion in two dimensions.
Animate the process by drawing one step at a time.
Plot saved as "brownian_animation.png".
brownian_animation:
Normal end of execution.
02-May-2019 12:42:14
bulgaria_plot:
MATLAB version
Plot Bulgarian population over time.
Graphics saved as "bulgaria_plot.png"
bulgaria_plot:
Normal end of execution.
caffeine_prepare:
MATLAB version
Read a country/cataract rate/caffeine intake CSV file.
Write a cataract rate/caffeine intake TXT file.
Data saved as "caffeine_data.txt"
caffeine_prepare:
Normal end of execution.
caffeine_scatter:
MATLAB version
Read a data file of cataract incidence versus caffeine intake.
Display the data as a scatter plot.
Read 43 data records from the file.
Graphics saved as "caffeine_scatter.png"
caffeine_scatter:
Normal end of execution.
chain_letter_dendrogram:
MATLAB version
Construct a dendrogram to analyze the relationship
among a set of 11 versions of a chain letter.
Chain letter distance matrix read from "chain_letter_data.txt"
Graphics saved as "chain_letter_dendrogram.png"
chain_letter_dendrogram:
Normal end of execution.
circle_scatters:
MATLAB version
Make scatter plots of two sets of data representing
points inside, and points outside the unit circle.
Number of points inside the circle = 395
Number outside = 105
Total = 500
Estimate for PI = 3.160000e+00
Graphics saved as "circle_scatters.png"
circle_scatters:
Normal end of execution.
corkscrew_plot3d:
MATLAB version:
Display a curve defined by points on a 3D curve.
Graphics saved as "corkscrew_plot3d.png"
corkscrew_plot3d:
Normal end of execution.
corvette_scatter:
MATLAB version
Read a data file of resale prices for Corvettes.
Display the data as a scatter plot.
Graphics saved as "corvette_scatter.png"
corvette_scatter:
Normal end of execution.
decision_tree:
MATLAB version
Plot a decision tree for the iris classification task.
Graphics saved as "decision_tree.png"
decision_tree:
Normal end of execution.
drug_dosage_plots:
MATLAB version
Plot the variation over time of the concentration
of a medicinal drug in the bloodstream.
Graphics saved as "drug_dosage_plots.png"
drug_dosage_plots:
Normal end of execution.
genealogy_tree:
MATLAB version
Plot a tree illustrating a genealogy.
labels =
12×1 cell array
{'George' }
{'Martha' }
{'Allen' }
{'Samantha'}
{'Karen' }
{'Dennis' }
{'Mohit' }
{'Cecilie' }
{'Aram' }
{'Naomi' }
{'Otto' }
{'Francine'}
Graphics saved as "genealogy_tree.png"
genealogy_tree:
Normal end of execution.
geyser_bar
MATLAB version
Read binned data of waiting times between eruptions
of the Old Faithful geyser.
Create a corresponding bar plot.
Graphics saved as "geyser_bar.png"
geyser_bar:
Normal end of execution.
geyser_bar_prepare
MATLAB version
Read data about the waiting time between eruptions
of the Old Faithful geyser.
Bin this data, for presentation as a bar graph.
Binned data saved as "geyser_bar_data.txt"
geyser_bar_prepare:
Normal end of execution.
geyser_histogram
MATLAB version
Create a histogram of the time between eruptions
of the Old Faithful geyser.
272 x 2 data records read from file.
Graphic saved in "geyser_histogram.png"
geyser_histogram:
Normal end of execution.
geyser_scatter
MATLAB version
Create a scatter plot of eruption length versus
subsequent wait time at the Old Faithful geyser.
Graphics saved as "geyser_scatter.png"
geyser_scatter:
Normal end of execution.
grid_contour:
MATLAB version
Make a color contour plot Z(X,Y) for a 41x41 table.
Graphics saved as "grid_contour.png"
grid_contour:
Normal end of execution.
grid_surface:
MATLAB version
Make a surface plot Z(X,Y) for a 41x41 table.
Graphics saved as "grid_surface.png"
grid_surface:
Normal end of execution.
insect_scatter3d
MATLAB version
Create a 3D scatter plot of measurements of three
physical characteristics of 3 species of insects.
Graphics saved as "insect_scatter3d.png"
insect_scatter3d:
Normal end of execution.
iris_subplots:
MATLAB version
For each of 3 varieties of iris, a number of specimens
have been collected. For each specimen, measurements
made of sepal length, sepal width, petal length and
petal width.
Create a 4x4 array of scatter plots that compare each
pair of values. Moreoever, use colors to distinguish the
data belonging to each of the three varieties.
Graphics saved as "iris_subplots.png"
iris_subplots:
Normal end of execution.
least_squares_plots
MATLAB version
Compare 15 data points with the least squares line
y = A * x + B
which minimizes the root-mean-square error.
The data is actually perturbed values of a quadratic
formula, which is shown for comparison:
y = 1/2 x^2 + 1
Graphics saved as "least_squares_plots.png"
least_squares_plots
Normal end of execution.
lissajous_plot:
MATLAB version
Make a plane curve by connecting a series of points.
Also mark every 10th point.
Graphics saved as "lissajous_plot.png"
lissajous_plot:
Normal end of execution.
lynx_plot:
MATLAB version
Make a curve by connecting a series of data points.
Mark the data points.
Graphics saved as "lynx_plot.png"
lynx_plot:
Normal end of execution.
mario_fill:
MATLAB version
Draw a picture of Mario, using the fill() command
to create a grid of colored squares.
Graphics saved as "mario_fill.png"
mario_fill:
Normal end of execution.
mexican_hat_surface
MATLAB version
Make a 3D surface plot of Mexican hat data.
Graphics saved as "mexican_hat_surface.png"
mexican_hat_surface
Normal end of execution.
mod_bar3d:
MATLAB version
Make a 3D bar plot of mod(1:10,1:10).
Graphics saved as "mod_bar3d.png"
mod_bar3d:
Normal end of execution.
network_graph:
MATLAB version
Plot a network as a graph.
G =
graph with properties:
Edges: [16×1 table]
Nodes: [11×0 table]
Graphics saved as "network_graph.png"
network_graph:
Normal end of execution.
nile_histogram:
MATLAB version
Make a histogram of yearly Nile flood levels.
570 x 2 data records read from file.
Graphics saved as "nile_histogram.png"
nile_histogram:
Normal end of execution.
nile_plot:
MATLAB version
Make a line plot of yearly Nile flood levels.
Graphics saved as "nile_plot.png"
nile_plot:
Normal end of execution.
ninety_histogram:
MATLAB version
Read a text file of 90 values, and create a histogram
that will expose outliers as isolated values.
90 x 1 data records read from file.
Number of outliers detected = 1
# Index Value
1 90 1441
Graphics saved as "ninety_histogram.png"
ninety_histogram:
Normal end of execution.
orbital_contour:
MATLAB version
Make a contour plot of a table of data Z(X,Y).
Graphics saved as "orbital_contour.png"
orbital_contour:
Normal end of execution.
predator_plot3d:
MATLAB version:
Model the interaction between rabbits and foxes.
Graphics saved as "predator_plot3d.png"
predator_plot3d:
Normal end of execution.
president_heights_bar
MATLAB version
Create a bar plot of the height in inches of US presidents.
Graphics saved as "president_heights_bar.png"
president_heights_bar:
Normal end of execution.
president_heights_barh
MATLAB version.
Create a horizontal bar plot of the height in inches of US presidents.
Graphics saved as "president_heights_barh.png".
president_heights_barh
Normal end of execution.
president_heights_histogram
MATLAB version
Create a histogram of the height in inches of US presidents.
45 x 1 data records read from file.
Graphics saved as "president_heights_histogram.png"
president_heights_histogram:
Normal end of execution.
president_heights_prepare:
MATLAB version
Read a president/height CSV file.
Write a height TXT file.
Data saved as "president_heights_data.txt"
president_heights_prepare:
Normal end of execution.
price_plots:
MATLAB version
Plot prices of bananas, gas and milk over time.
Graphics saved as "price_plots.png"
price_plots:
Normal end of execution.
random_scatter:
MATLAB version
Make a scatterplot of random (X,Y) data.
Graphics saved as "random_scatter.png"
random_scatter:
Normal end of execution.
schoolyear_barh:
MATLAB version
Get data of country names and school year lengths.
Make a horizontal bar plot, with labeled bars.
Graphics saved as "schoolyear_barh.png"
schoolyear_barh:
Normal end of execution.
snowfall_histogram:
MATLAB version
Make a histogram of yearly total snowfall data.
129 x 10 data records read from file.
Graphics saved as "snowfall_histogram.png"
snowfall_histogram:
Normal end of execution.
snowfall_plot:
MATLAB version
Make a line plot of snowfall data.
Graphics saved as "snowfall_plot.png"
snowfall_plot:
Normal end of execution.
snowfall_smoothed_plot:
MATLAB version
Read snowfall data
Smooth data using a 10 year moving average.
Plot the smoothed data.
Graphics saved as "snowfall_smoothed_plot.png"
snowfall_smoothed_plot:
Normal end of execution.
temperature_prepare:
MATLAB version
Read a cityname/temperature/latitude/longitude MAT file.
Write a temperature/latitude/longitude TXT file.
Data saved as "temperature_data.txt"
Ttemperature_prepare:
Normal end of execution.
temperature_scatter:
MATLAB version
Make a scatter plot of temperature reading locations.
Graphics saved as "temperature_scatter.png"
temperature_scatter:
Normal end of execution.
temperature_scatter3d
MATLAB version
Create a 3D scatter plot of logintude,
latitude, and January temperature.
Graphics saved as "temperature_scatter3d.png"
temperature_scatter3d:
Normal end of execution.
track_bar:
MATLAB version
Read a text file containing durations
representing results of an eye-tracking experiment.
Make a bar plot of the results, with labeled bars.
Graphics saved as "track_bar.png"
track_bar:
Normal end of execution.
tracks_bar:
MATLAB version
Read multiple text files containing durations
representing results of an eye-tracking experiment.
Average the data.
Make a bar plot of the results, with labeled bars.
Graphic saved in "tracks_bar.png"
tracks_bar:
Normal end of execution.
volcano_color_contour:
MATLAB version
Make a color contour plot of volcano height.
Graphics saved as "volcano_color_contour.png"
volcano_color_contour:
Normal end of execution.
volcano_contour:
MATLAB version
Make a line contour plot of volcano height.
Graphics saved as "volcano_contour.png"
volcano_contour:
Normal end of execution.
volcano_surface:
MATLAB version
Make a surface plot of volcano height.
Z values stored as 87 by 61 array
Graphics saved as "volcano_surface.png"
volcano_surface:
Normal end of execution.
web_digraph:
MATLAB version
Plot a web of connections as a directed graph.
Graphics saved as "web_digraph.png"
web_digraph:
Normal end of execution.
graphics_test:
Normal end of execution.
02-May-2019 12:42:29
diary off