Data Analysis Plots Flashcards
(5 cards)
1
Q
How to obtain a bar chart?
A
bar(data_array)
2
Q
How can we emulate Riemann sums?
A
bar(x,y)
Where y collects the images of x on a function f.
3
Q
How to obtain a histogram of data?
A
Using the command:
hist(data_array)
4
Q
How to obtain pie charts?
A
Using the command:
pie(data_array)
5
Q
How to obtain scatter plots?
A
Using the command:
scatter(x,y)