log_plots_yourlogin - Linear Plot subplot(2,2,1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
function [] = log_plots_yourlogin(ind_vector,dep_vector) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Programmer(s) and Purdue Email Address(es): % 1. @purdue.edu % % Section #:ALL % % Assignment #: Homework 9 problem 4 - log plots % % Academic Integrity Statement: % % I/We have not used source code obtained from % any other unauthorized source, either modified % or unmodified. Neither have I/we provided access % to my/our code to another. The project I/we am/are % submitting is my/our own original work. % % log_plots_yourlogin - This function plots a set of data using linear, % semi-log, and log scales. % % INPUT ARGUMENTS % ind_vector - vector for the independent variable % dep_vector - vector for the dependent variable % % OUTPUT ARGUMENTS % none, displays a plot with 4 scales.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Linear Plot subplot(2,2,1) plot(ind_vector,dep_vector,'b*') xlabel('Independent variable, x') ylabel('Dependent variable, y') title('Linear Plot') % Semi-log y Plot subplot(2,2,2) semilogy(ind_vector,dep_vector,'b*') xlabel('Independent variable, x') ylabel('Log(Dependent variable, y)') title('Semi-log Y Plot') % Semi-log x Plot subplot(2,2,3) semilogx(ind_vector,dep_vector,'b*') xlabel('Log(Independent variable, x)') ylabel('Dependent variable, y') title('Semi-log X Plot') % Log-Log Plot subplot(2,2,4) loglog(ind_vector,dep_vector,'b*') xlabel('Log(Independent variable, x)') ylabel('Log(Dependent variable, y)') title('Log Plot')...
View Full Document

This note was uploaded on 05/02/2011 for the course ENGR 132 taught by Professor Kutson during the Spring '11 term at Purdue.

Page1 / 2

log_plots_yourlogin - Linear Plot subplot(2,2,1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online