octave graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · types of plots line plots pie...

81
Octave Graphics

Upload: others

Post on 07-Jul-2020

19 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Octave Graphics

Page 2: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Types of Plots

Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons Animation

Page 3: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Line/Symbol Plot

Page 4: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Line Plots

Page 5: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

(1) plot [Line/Symbol Plot ]

Also called as X­Y plot where y varies with x. Syntax: plot(y) % y varies with x as index (1,2,3..)

plot(x,y) % y varies with x as solid line

plot(x,y,fmt) % fmt is line and color

specifications

Where 'x' is the data for X axis and 'y' is the dependent variable.

Page 6: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

x = [0:5:100];

y = x;

plot(x, y)

Example ­ 1

Page 7: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

x = [-100:5:100];

y = x.^2;

plot(x, y)

Example ­ 2

Page 8: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example ­ 3

x = [0:0.01:10];

y = sin(x);

plot(x, y)

xlabel('x')

ylabel('Sin(x)')

title('Sin(x) Graph')

grid on

axis equal

Page 9: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Line/symbol specifications

Three options: Line style  Symbol color

Page 10: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 11: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 12: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 13: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example

Page 14: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Additional options:

LineWidth — Specifies the width (in points) of the

Line.

MarkerSize — Specifies the size of the marker in

points (must be greater than 0).

Page 15: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example

Page 16: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Adding Title & Axis Labels

Command Purpose Syntax

=============================================

title to add title title('text')

xlabel X axis label xlabel('text')

ylabel Y axis label ylabel('text')

Page 17: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Axis commands

axis equal : same scale

axis square : square plot

axis tight :

grid on : have grid

axis ( [xmin xmax ymin ymax] )

Page 18: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Multiple lines

x = [0 : 0.01: 10];

y = sin(x);

g = cos(x);

plot(x, y, x, g, '.-')

legend('Sin(x)', 'Cos(x)')

Page 19: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'subplot' : More plots in a page

The subplot command is used for creating several plots in a page.

Each plot is a subplot. Syntax:

subplot(m,n,p)

where m, n are number of rows and columns and p specifies the position of the respective plot.

Page 20: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example: create 1x2 plotx=0:360;

y=sin(x*pi/180);

z=cos(x*pi/180);

subplot(1,2,1) % first position

plot(x,y)

subplot(1,2,2) % second position

plot(x,z)

Page 21: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example: 4 plotssubplot(2,2,1)

plot(...)

subplot(2,2,2)

plot(...)

subplot(2,2,3)

plot(...)

subplot(2,2,4)

plot(...)

Page 22: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

(2) plot3 [3D line plot]

Syntax:

plot3(X1,Y1,Z1,...)

plot3(X1,Y1,Z1,LineSpec,...)

plot3(...,'PropertyName',PropertyValue,...)

plot3(ax,...)

h = plot3(...)

Page 23: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example

t = 0:pi/50:10*pi;

st = sin(t);

ct = cos(t);

figure

plot3(st,ct,t)

Page 24: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

(3) loglog

Syntax:loglog(Y)

loglog(X1,Y1,...)

loglog(X1,Y1,LineSpec,...)

loglog(...,'PropertyName',PropertyValue,...)

loglog(ax,...)

h = loglog(...)

Page 25: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example

x = logspace(-1,2);

y = exp(x);

loglog(x,y,'-s')

grid on

Page 26: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

(4) semilogx

Syntax:

semilogx(Y)

semilogx(X1,Y1,...)

semilogx(X1,Y1,LineSpec,...)

semilogx(...,'PropertyName',PropertyValue,...)

semilogx(ax,...)

h = semilogx(...)

Page 27: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example

x = 0:1000;

y = log(x);

figure

semilogx(x,y)

Page 28: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

(5) semilogy

x = 0:0.1:10;

y = exp(x);

figure

semilogy(x,y)

Page 29: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

(6) errorbar

Page 30: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

errorbar(x,y,err) plots y versus x and draws a vertical error bar at each 

data point.

Page 31: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

x = 1:10:100;

y = [20 30 45 40 60 65 80 75 95 90];

err = 8*ones(size(y));

errorbar(x,y,err)

Page 32: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Options

Horizontal errorbar:

errorbar(x, y, err, 'horizontal')

Vertical and Horizontal errorbar:

errorbar(x, y, err, 'both')

Page 33: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

(2) Bar Plot

Page 34: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 35: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'bar' command

Page 36: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example­1 (Only y)

Page 37: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example­2 (x & y)

Page 38: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example­3 (speficy bar width)

Page 39: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example – 4 (groups)

Page 40: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example – 5 (stacked)

Page 41: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example – 6 (bar color)

Page 42: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'bar3' command

Draws a three­dimensional bar graph.

Syntax:bar3(Y)

bar3(x,Y)

bar3(...,width)

bar3(...,'style')

bar3(...,LineSpec)

bar3(axes_handle,...)

h = bar3(...)

Page 43: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example

load count.dat

Y = count(1:10,:);

figure

bar3(Y)

title('Detached Style')

Page 44: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'barh' command

Plot bar graph horizontally

Syntax:barh(y)

barh(x,y)

barh(...,width)

barh(...,style)

barh(...,'bar_color')

barh(...,'PropertyName',PropertyValue,...)

barh(ax,...)

b = barh(...)

Page 45: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example

Y = [57,91, ...281.4];

figure

barh(y)

Page 46: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'bar3h'

Page 47: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Histograms

Page 48: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Functions

Page 49: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

histogram

Page 50: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

x = randn(10000,1);

h = histogram(x)

Page 51: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'histogram2'

Page 52: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Pie Plot

Page 53: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Syntax: pie(X)

example

pie(X,explode)

example

pie(X,labels)

example

pie(X,explode,labels)

example

pie(ax,___)

example

p = pie(___)

Page 54: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

X = [1 3 0.5 2.5 2];

pie(X)

Page 55: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

explode = [0 1 0 1 0];

pie(X,explode)

Page 56: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

pie3

Page 57: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Scatter Plot

Page 58: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 59: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 60: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example: circles with different sizes

Page 61: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Example: filled

Page 62: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 63: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons
Page 64: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Polar Plot

Page 65: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Functions

Page 66: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

polarplot

Page 67: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

polarscatter

Page 68: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

polarhistogram

Page 69: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Contour Plot

Page 70: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Functions

Page 71: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

contour function

[X,Y,Z] = peaks;

figure

contour(X,Y,Z,20)

Page 72: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

contourf function

Z = peaks(20);

contourf(Z,10)

Page 73: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

clabel

[x,y,z] = peaks;

[C,h] = contour(x,y,z);

clabel(C,h)

Page 74: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Vector Plot

Page 75: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Functions

Page 76: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'feather' command

theta = -pi/2:pi/16:pi/2;

r = 2*ones(size(theta));

[u,v] = pol2cart(theta,r);

feather(u,v)

Page 77: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'quiver' function

[x,y] = meshgrid(0:0.2:2,0:0.2:2);

u = cos(x).*y;

v = sin(x).*y;

figure

quiver(x,y,u,v)

Page 78: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

'compass' function

rng(0,'twister') % initialize random number generator

M = randn(20,20);

Z = eig(M);

figure

compass(Z)

Page 79: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

streamline

Not yet implemented in octave

Page 80: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Animations

Page 81: Octave Graphicsdpo.cusat.ac.in/tutorial/octave/slide/plot.pdf · Types of Plots Line Plots Pie chart, bar plot, histograms Polar plot Contour plot Vector plot Surface, volumes, polygons

Functions