REVITALISE Visualization Tools Overview: gnuplot Garrett Love Shodor Education Foundation Durham, NC.

Slides:



Advertisements
Similar presentations
MATLAB and Scilab Comparison
Advertisements

Lecture 5.
Introduction to Matlab Workshop Matthew Johnson, Economics October 17, /13/20151.
Excel Part I Basics and Simple Plotting Section 008 Fall 2013 EGR 105 Foundations of Engineering I.
October 15, 2002MASCOTS WebTraff: A GUI for Web Proxy Cache Workload Modeling and Analysis Nayden Markatchev Carey Williamson Department of Computer.
MATLAB’s extensive, device-independent plotting capabilities are one of its most powerful features. They make it very easy to plot any data at any time.
MATLAB GRAPHICS 2-D.
MATLAB ME1107 Y Yan Reference: MATLAB for Engineers by Holly Moore (Pearson Prentice Hall)
Getting Started with Linux Douglas Thain University of Wisconsin, Computer Sciences Condor Project October 2000.
REVITALISE Visualization Tools Overview: Easy-Viz.
BIL101, Introduction to Computers and Information Systems Chapter 12 A Portable Scientific Visualization Program: GnuPlot Prepared by Metin Demiralp Istanbul.
CSE4251 The Unix Programming Environment
1 A Portable Scientific Visualization Program: GnuPlot Asst. Prof. Emin Korkut.
EGR 105 Foundations of Engineering I Session 3 Excel – Basics through Graphing Fall 2008.
Introduction to Matlab Jianguo Wang CSSCR September 2009.
What is MATLAB ? MATrix LABratory –Originally, it was a front-end to FORTRAN matrix routines developed in the U. of New Mexico and Stanford –Today.
Programming Languages: Telling the Computers What to Do Chapter 16.
CS110/CS119 Introduction to Computing (Java)
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
ElVis Developments for Simulation and Analysis Programs Tarun Pondicherry Summer 2006 Science Ed High School Intern Eliot Feibush, Mentor 8/16/2006.
Lecture 4 MATLAB Windows Arithmetic Operators Maintenance Functions
Objectives Understand what MATLAB is and why it is widely used in engineering and science Start the MATLAB program and solve simple problems in the command.
CENT 305 Information Systems Security Linux Introduction.
USER INTERFACE.
CMPE13Cyrus Bazeghi 1 Programming Languages Telling computers what to do.
Introduction to Engineering MATLAB – 1 Introduction to MATLAB Agenda Introduction Arithmetic Operations MATLAB Windows Command Window Defining Variables.
EECE 360/460 Matlab Tutorial Jan Outline What is Matlab? What is Matlab? Matlab Interface Matlab Interface Basic Syntax Basic Syntax Plotting Graphs.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
ENGR 1320 Final Review - Programming Major Topics: – Functions and Scripts – Vector and Matrix Operations in Matlab Dot product Cross product – Plotting.
Eng Ship Structures 1 Introduction to Matlab.
INTRODUCTION TO MATLAB LAB# 01
Outline Software and Programming Program Structure Tools for Designing Software Programming Languages Introduction to Visual Basic (VBA)
Gnuplot What is gnuplot? an interactive plotting program.
Copyright © 2006, SAS Institute Inc. All rights reserved. SAS Enterprise Guide Old Proc – New Tricks? Tim Trussell Academic Program, SAS Canada world diabetes.
FLUKA GUI Status FLUKA Meeting CERN, 10/7/2006.
CMPS 1371 Introduction to Computing for Engineers MatLab.
Visualization Workshop David Bock Visualization Research Programmer National Center for Supercomputing Applications - NCSA University of Illinois at Urbana-Champaign.
Advanced Stata Workshop FHSS Research Support Center.
_______________________________________________________________CMAQ Libraries and Utilities ___________________________________________________Community.
Laboratory 1. Introduction to SAS u Statistical Analysis System u Package for –data entry –data manipulation –data storage –data analysis –reporting.
View_hdf Kam-Pui Lee Science Applications International Corporation CERES Data Management Team Linda Hunt Computer Sciences Corporation Atmospheric Sciences.
1 DKT 211 Basic Communication Engineering LAB # 1A : (Lecture 1) Introduction to Matlab  Basic Features  Scientific features  Array Operations  Script.
C OMPUTING E SSENTIALS Timothy J. O’Leary Linda I. O’Leary Presentations by: Fred Bounds.
MCE 372 Engineering Analysis MATLAB Review. M ATLAB – What Is It ? Where Is It? Name is from matrix laboratory Powerful tool for – Computation and visualization.
Mantid Manipulation and Analysis Toolkit for ISIS data.
Introduction to MATLAB Zongqiang Liao Research Computing Group UNC-Chapel Hill.
MA/CS 375 Fall 2002 Lecture 2. Motivation for Suffering All This Math and Stuff Try the Actor demo from
Program design and algorithm development We will consider the design of your own toolbox to be included among the toolboxes already available with your.
M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
Introduction to Programming on MATLAB Ecological Modeling Course Sep 11th, 2006.
Matlab Tutorial Iman Moazzen First Session – September 11, 2013.
Chris Knight Beginners’ workshop.
Lecture 11 Introduction to R and Accessing USGS Data from Web Services Jeffery S. Horsburgh Hydroinformatics Fall 2013 This work was funded by National.
M ATLAB – What Is It ? Name is from matrix laboratory Powerful tool for – Computation and visualization of engineering and science mathematics – Communication.
Learn Gnuplot in an Hour Free and Open Software How to Plot Practically Anything Practically Anyway.
Using GNUPlot on LONI Resources B. Estrade. Objectives ● learn to use many features of gnuplot, including: – simple plotting – 3d plotting – working with.
Getting started with Matlab: Outline
Matlab Programming for Engineers
Operating System Concepts
Computer Application in Engineering Design
Lecture 25.
MATLAB DENC 2533 ECADD LAB 9.
Matlab Workshop 9/22/2018.
MCE 372 Engineering Analysis
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
MATLAB – What Is It ? Name is from matrix laboratory Powerful tool for
CSCI N317 Computation for Scientific Applications Unit 1 – 1 MATLAB
Presentation transcript:

REVITALISE Visualization Tools Overview: gnuplot Garrett Love Shodor Education Foundation Durham, NC

REVITALISE Overview of this workshop Structured activities –Global air temperature plots from grid data –Parametric plotting of cyclic time-series data Open labs –Random Number Generation (Mathematics) –Dynamic Contact Analysis (Physical Science) –Air Quality Data (Environmental Science) –Diabetes Dynamics (Life Science)

REVITALISE What is gnuplot? Versatile visualization tool –Command driven, interactive function plotting program Designed for mathematics visualization –Student programmers looking to visualize classroom concepts –Open source code Multiple Platforms –Unix/Linux, Macs, lots of others –Windows version has a menu-driven interface Copyrighted but freely distributable –Not part of the Gnu’s Not Unix project (emacs)

REVITALISE The good gnus (Advantages) Quality 2-D/3-D plots of functions and data Small set of commands - easy to learn Very transferable –Multiple platforms –Text file formats for input and command files Can be automated (allows it to be run by other programs) Can manipulate data with mathematical functions Existing support community Free! Free! Free! – (gnuplot Central)

REVITALISE The bad gnus (Disadvantages) Limited types of plots Contour plot process a bit difficult ‘Programming’ style assumed Limited set of styles for lines and points Limited text abilities for titles and labels –Greek letters and symbols difficult/not possible –Formatted math formulas difficult/not possible Updates/development depends on volunteers

REVITALISE Basic Concepts Console Window –Command line prompt gnuplot> –Menu selections for Windows version Plotting Window Help – ? –Help

REVITALISE Function Plots 2-D variable is x gnuplot> plot sin(x) Use replot to display a second function gnuplot> replot cos(x) Math functions in fortran style gnuplot> plot (1.2e-5)*(x**1.4)/exp(x) Many functions (use ‘help functions’ to list) Eg. abs() sinh() log() rand() acos() sqrt()

REVITALISE Parametric Plots gnuplot> set parametric 2-D “dummy” variable is t gnuplot> plot sin(2*t), cos(sqrt(2)*t)

REVITALISE Data Plots Single channel gnuplot> plot '/Users/grl/Desktop/3ch.dat' using 2

REVITALISE Data Plots Cross plots gnuplot> plot '3ch.dat' using 3:2 with lines

REVITALISE Combined Plots gnuplot> set parametric gnuplot> plot eps(t),t, ’material.dat'

REVITALISE 3-D Scatter Plots gnuplot> splot '3ch.dat'

REVITALISE 3-D Function Plots gnuplot> set parametric gnuplot> splot u,u+v,sin(0.5*(u+v))

REVITALISE Settings gnuplot> set xlabel 'Strain(mm/mm)'; set ylabel 'Stress(MPa)' -1,0; replot

REVITALISE Settings gnuplot> set title "1045 Steel";set key 0.007,150; replot

REVITALISE Settings gnuplot> set xtics ('low' 0, 'med'.005,'high'.0098); set grid; set format y '%.1e'; replot

REVITALISE More Settings Relative Graph size: >set size 1,1 Function sampling pts: >set samples 1000 Polar Coordinates: >set polar Contour plots: >set contour base Perspective: >set view 90,0 Angle Units: >set angles degrees Style: >set data style lines

REVITALISE Set at Last Show command gives current settings gnuplot> show xlabel Reset recalls default settings Save records current settings and plot statement gnuplot> save ‘c:\thisdir\filename.gp’ Load executes settings from a file gnuplot> load ‘c:\thisdir\filename.gp’ Help is extremely useful in determining set syntax gnuplot> help set

REVITALISE Credits Gnuplot short course - Tim Langlais, University of Minnesota shortcourses/gnuplot gnuplot/