Patches of Color.

Slides:



Advertisements
Similar presentations
Mapping Our World Goals: Differentiate between latitude and longitude.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Lecture 5: Charged particles  Charged particle data from the text  As time permits=>Source distributions.
DAY 8: MICROSOFT EXCEL – CHAPTER 5 Aliya Farheen February 5, 2015.
Introduction to M ATLAB 2 Graphics Ian Brooks Institute for Climate & Atmospheric Science School of Earth & Environment
Chapter 3 Setting Up A Document.
Chapter 11 Above: Principal contraction rates calculated from GPS velocities. Visualized using MATLAB.
Interpolation, color, & light. Outline Announcements –HW II--due today, 5PM –HW III on the web later today HW I: Issues Structured vs. Unstructured Meshes.
WFM 6202: Remote Sensing and GIS in Water Management
10/04/ D Source, Neutron Wall Loading & Radiative Heating for ARIES-CS Paul Wilson Brian Kiedrowski Laila El-Guebaly.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
What are the four main points on a compass rose? cardinal directions
Review the pages of the notebook Fill out key to Cornell.
 1999 BG Mobasseri1 8/29/2015 MATLAB GRAPHICS - PART II ADVANCED PLOTTING June 4, ‘99.
Chapter Create Design Ms. Robin. You will learn: To create a design and identify the coordinates used to make the design. Identify the coordinates.
VOCAB REVIEW. letters at the top of the worksheet window that identify the vertical information in a worksheet column headings Click for the answer Next.
CHAPTER 10 Formatting Tables and Forms. Using Tables the Right Way  HTML and XHTML have a LOT of tags dedicated to building a table  If you have only.
MATLAB and SimulinkLecture 51 To days Outline Linear Equations ODE Integration Handle Graphics. Exercises on this days topics.
remote sensing electromagnetic spectrum frequency Landsat satellite Objectives Compare and contrast the different forms of radiation in the electromagnetic.
Computational Methods of Scientific Programming Lecturers Thomas A Herring, Room A, Chris Hill, Room ,
Outline Announcements –HW II due Friday –HW III option Interpolation Colormaps.
Lesson 10 Using AutoShapes, WordArt, and Comments Lesson 10 Using AutoShapes, WordArt, and Comments.
Mapping/Minerals/metamorphic Review. Scale relates to actual distance. Topographic maps and satellite imagery are two- dimensional models that provide.
Outline Announcements –Homework I due Wed. 5PM by Subject: CIS 402 Homework 1 Plain text Not allowed to use errorbar Try to do plotCI without looking.
Introduction to MATLAB Session 5 Simopekka Vänskä, THL 2010.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
Figures & Axes, Printing & Saving. Outline Announcements –Homework I due Wed. 5PM by –No lecture on Fri. 10/26, rescheduled to Wed. 10/31 at 8AM.
Mapping Longitude and Latitude Wednesday, September 16, 2015.
6th Grade Social Studies Let’s Explore Australia
2D Routines in 3D. Outline Announcements –HW II--due Friday. 5PM HW1 & Cookie Grids & Meshes Representing f(x,y) Lines & Surfaces in 3D Survey.
Recap Plots with More than one Line Plots of Complex Arrays Line, Color and Mark Style Axis Scaling and Annotating Plots Subplots Polar Plots Logarithmic.
Volumetric Visualization. Outline Announcements –PS III due today –contest entries by tomorrow –PS IV online today--GUI vs. VV –Demos on Friday What is.
 2000 Deitel & Associates, Inc. All rights reserved. Chapter 19 – Dynamic HTML: Structured Graphics ActiveX Control Outline 19.1Introduction 19.2Shape.
GRAPHICS AND VISUALISATION WITH MATLAB UNIVERSITY OF SHEFFIELD CiCS DEPARTMENT Deniz Savas & Mike Griffiths May 2015.
LATITUDES & LONGITUDES
Handle Graphics and 1D Primitives Some Handel graphics.
Topographic & Geologic Maps Plus: Latitude and Longitude!
Plate Tectonics Topographic Maps and Land Features Ms. Clark
Mental Map Any visual image in our brain to help us get around in our environment.
More Matlab Graphics and GUI Graphics subplots some useful commands 3D graphics GUI GUI controls The callback property Other essential properties.
EEE 242 Computer Tools for Electrical Engineering
Figures & Axes, Printing & Saving. Outline Announcements –Homework I on web, due Wed. 5PM by e- mail A word on HWI and cookies What happens when you plot.
Lecture 17 More Plotting Chapter 12 Matrices. Outline from Chapter D Plotting 11.4 Surface Plots 11.5 Interacting with Plotted Data.
 Cartography – science of mapmaking  Equator circles Earth halfway between the north and south poles ◦ Separates Earth into 2 equal halves (hemispheres)
Daily Routine Sit in your appropriate seat quietly Have all necessary materials out All back packs on the floor All cell phones on silent and away in backpacks.
Chapter 6 Frames and Image Maps Frame sets and frames Image Maps.
Advanced Plotting Techniques Chapter 11 Above: Principal contraction rates calculated from GPS velocities. Visualized using MATLAB.
  Cartography  Cartography is the science of mapmaking.  Cartographers use an imaginary grid of parallel lines and vertical lines to locate exact points.
Σ Flat Earth Grid Circles are Latitudes Spokes are Longitudes Centre North Pole.
John Federici NJIT Physics Department
3D-Graphs A 3D surface is defined as: z = f(x, y)
CIS 410/510: Isosurfacing (pt 2)
BELLRINGER C: Voice Level-0 H: Raise your hand for help.
Chapter 2-Mapping our World
2D Routines in 3D.
Final review sessions - II
Coordinate System Unit 1: Mapping the Earth
Chapter 2-Mapping our World
Surface Analysis Tools
Maps Base maps Coordinate Systems, Datums, Projections
Hank Childs, University of Oregon
Introduction to Meshes
Yang-Ming University, Taipei, Taiwan
ICT Word Processing Lesson 4: Structuring Text Content in Documents
Lesson 4-1 The Coordinate Plane.
Chapter 2-Mapping our World
Chapter 2-Mapping our World
Mapping Earth’s Surface
Remote Sensing.
Interpolating Shape Functions
Presentation transcript:

Patches of Color

Outline Announcements Polar Exploration Patches in 2D--pcolor Homework I due TODAY. 5PM by e-mail Homework II on web No lecture on Friday Polar Exploration Patches in 2D--pcolor Example: NWtopex Survey

Polar Exploration The mystery: how can you produce objects without handles?

Polar Exploration toolbox/matlab/graph2d/polar.m polar creates a patch (white circle), lines (circular grid, spokes), and text the ‘HandleVisibility’ is set to ‘off’--making them inaccessible Gus Lott wins the Polar Explorer award for finding this out

Patch Review Patches are our workhorse 2D objects x=[0 1 0] y=[0 0 1] Lots of functions produce patches patch is the lowest level functioned (followed closely by fill) patch(x,y,c)--x and y specify vertex coordinates, c controls the color patch(X,Y,C)--Each column of X, Y, and C is a separate patch 1 0 1 x=[0 1 0] y=[0 0 1] c=‘r’

Patches and data We’re moving from y=f(x) to z=f(x,y) Typically, x & y are defined on a grid of points: y(6) y(5) y(4) y(3) y(2) y(1) data lives at points (nodes) Z(3,4)=f(x(4),y(3)) x(1) x(2) x(3) x(4) x(5) x(6)

Colorizing z A standard way of representing 2D data is to make color indicate z zmin zmax z

pcolor pcolor(x,y,Z) will colorize Z on grid defined by x and y Z=m-by-n, x=1-by-n, y=m-by-1 pcolor(X,Y,Z) will colorize Z on an irregular grid X,Y, and Z all m-by-n h=pcolor(…) gets the handle. The object is actually a surface object surface objects are nearly identical to patches

How it works h=pcolor(eye(3)); 1 1 1 shading(‘faceted’) color of cell is set by lower left-hand corner 3 2 1 1 shading(‘flat’) edgecolor=‘none’ 1 1 shading(‘interp’) interpolates between vertices to get color 1 2 3

Controlling pcolor shading(str) sets ‘facecolor’ property to str flat, faceted or interp colorbar shows a colorbar caxis([zmin, zmax]) controls the color limits same as set(gca,’clim’,[zmin, zmax]) colormap(cmap)--changes the colors. help graph3d lists the built in colormaps we’ll learn how to “role-your-own”

Example: NWtopex Since water flows down hill, sea-surface height (SSH) indicates currents The TOPEX/Poseidon satellite measures SSH with radar

NWtopex load(NWtopex)--loads NWtopex.mat which contains the following arrays: name size description lon 1-by-66 longitude (x) lat 1-by-31 latitude (y) SSH 31-by-66 SSH=z(x,y) rkb 256-by-3 new colormap