Enhancements to ElVis Scientific Graphics Software Tarun Pondicherry Ben Phillips PPPL Science Education Summer Interns Eliot Feibush – Mentor August 14,

Slides:



Advertisements
Similar presentations
Working with Profiles in IX1D v 3 – A Tutorial © 2006 Interpex Limited All rights reserved Version 1.0.
Advertisements

Macromedia Fireworks MX 2004 – Design Professional Importing, Selecting, and Modifying Graphics.
SWIM Portal Feedback & Data Management Needs Gheni Abla Eliot Feibush Job Monitor.
Adobe Flash CS4 – Illustrated Unit E: Optimizing and Publishing a Movie.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
Adobe Photoshop CS Design Professional FOR THE WEB CREATING IMAGES.
Chapter 17 Creating Images for the Web. Chapter Lessons Learn about Web features Optimize images for Web use Create a button for a Web page Create slices.
®® Microsoft Windows 7 for Power Users Tutorial 2 Customizing Microsoft Windows 7.
Objectives Define photo editing software
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
Managing the Displays in IX1D v 3 – A Tutorial © 2006 Interpex Limited All rights reserved Version 1.0.
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Introduction To Form Builder
Quark QuarkXPress 4 Foundation Level Course. What is QuarkXPress? This courseware teaches the fundamentals of QuarkXPress 4.1. It is a page layout application.
Using Charts in a Presentation Lesson 6. Software Orientation Charts can help your audience understand relationships among numerical values. The figure.
PowerPoint: Tables Computer Information Technology Section 5-11 Some text and examples used with permission from: Note: We are.
ElVis Features & Animations Michael Shmulevich PPPL Summer High School Intern Mentor – Eliot Feibush August 14, 2008.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Advantages of using R.PC.R Software Now that you know some of the advantage let’s take a look at the software … Reliable and Comprehensive Reporting Recording.
Creating a MagicInfo Pro Screen Template
WORKING WITH CHARTS. OBJECTIVES  Plan a chart  Create a chart  Move and resize a chart  Change the chart design  Change the chart layout  Format.
A First Program Using C#
AMI GUI Design V1.1 by Kilian Pohl - Reflects changes in AMI MRML Structure - Includes feedback from AMI Workshop in Dec 09.
Tutorial 4: Using CSS for Page Layout. 2 Objectives Session 4.1 Explore CSS layout Compare types of floating layouts Examine code for CSS layouts View.
ElVis Developments for Simulation and Analysis Programs Tarun Pondicherry Summer 2006 Science Ed High School Intern Eliot Feibush, Mentor 8/16/2006.
TRANSP to ElVis: elvislib By: Ben Bariteau Mentor: Doug McCune.
CIS 205—Web Design & Development Flash Chapter 1 Getting Started with Adobe Flash CS3.
Learning Microsoft Power Point Getting Started  There are three features that you should remember as you work within PowerPoint 2007: the Microsoft.
Microsoft Office XP Illustrated Introductory, Enhanced A Worksheet Formatting.
Tutorial 2 Drawing Text, Adding Shapes, and Creating Symbols.
Lattice Technology New Product Feature Highlights January 2011 Product Release.
InteractiveMedia’s Imagine Software Platform When user clicks on the Imagine desktop icon or installed app. This is the first thing the user will see full.
Lattice Technology New Product Feature Highlights July 2010 Product Release.
COMPREHENSIVE Windows Tutorial 7 Managing Multimedia Files.
PPPL Spring/Summer CO-OP 2006 Stephen Krenzel. Focus of the CO-OP The co-op focused on improving ElVis, an application for the visualization and monitoring.
Chapter 34 Java Technology for Active Web Documents methods used to provide continuous Web updates to browser – Server push – Active documents.
3461A Readings from the Swing Tutorial. 3461A Overview  The follow is the Table of Contents from the trail “Creating a GUI with JFC/Swing” in the “The.
Tutorial 7 Working with Multimedia
University of Sunderland CDM105 Session 6 Dreamweaver and Multimedia Fireworks MX 2004 Creating Menus and Button images.
Tutorial 7 Designing a Multimedia Web Site
Creating an Effective PowerPoint Presentation
Key Applications Module Lesson 21 — Access Essentials
Getting to Grips with Assignments Bronze Level – Compulsory.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 19 Organizing and Enhancing Worksheets 1 Morrison / Wells / Ruffolo.
Laboratory Exercise # 9 – Inserting Graphics to Documents Office Productivity Tools 1 Laboratory Exercise # 9 Inserting Graphics to Documents Objectives:
Creating Graphical User Interfaces (GUI’s) with MATLAB By Jeffrey A. Webb OSU Gateway Coalition Member.
1. Chapter 15 Creating Charts 3 Charting Data in Word A chart or graph presents data visually. A chart depicts numeric data in a graphical format. If.
ElVis Tutorial Eliot Feibush
Adobe Photoshop CS3 Revealed – Chapter 16 FOR THE WEB CREATING IMAGES.
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
A radiologist analyzes an X-ray image, and writes his observations on papers  Image Tagging improves the quality, consistency.  Usefulness of the data.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
PowerPoint Lesson 6 Working with Tables and Charts Microsoft Office 2010 Advanced Cable / Morrison 1.
Adobe Photoshop CS5 – Illustrated Unit A: Getting Started with Photoshop CS5.
ElVis – Collaborative Visualization Display and explore fusion data. Monitor TRANSP runs. Display input data. Retrieve shot data from MDSplus. Whiteboard.
ElVis Improvements Summer 2008 Eric Zatz PPPL Summer Intern Mentor – Eliot Feibush August 11, 2008.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Data Optimization for Reflectometer Simulation Marc Osherson Science Education Summer Intern 9/1/2005.
Adobe Photoshop CS4 – Illustrated Unit A: Getting Started with Photoshop CS4.
Adobe Flash Professional CS5 – Illustrated Unit E: Optimizing and Publishing a Movie.
NcBrowse: A Graphical netCDF File Browser Donald Denbo NOAA-PMEL/UW-JISAO
1. Explore Interactive GIS 2. Create Map Layouts 3. Reuse a Custom Map Layout 4. Create a Custom Map Template 5. Add a Report to a Layout 6. Add a Graph.
Reading and Writing Image Files
Working in the Forms Developer Environment
Flash Interface, Commands and Functions
Improving Scilab’s Xcos User Interface
Enhancing a Document Part 1
Enhancing a Document Part 1
Creating Images for the Web
Windows Tutorial 7 Managing Multimedia Files
Presentation transcript:

Enhancements to ElVis Scientific Graphics Software Tarun Pondicherry Ben Phillips PPPL Science Education Summer Interns Eliot Feibush – Mentor August 14, 2007

ElVis Overview Java based visualization software, graphs outputs of experiments, analysis, & simulation programs. Accepts input from Data Files Sockets - API GUI Presentation Styles Animated, Surface, Contour, + Reads data & displays graphs over Internet.

Monitor & Display Results DOE SciDac Fusion Simulations - under development CPES SWIM FACETS Web Services Reflectometer Simulation (ElFresco) – w3.pppl.gov/fwr TRANSP – RPLOT – beta test / alpha users GTC – available Shaped GTC – under development Nova-K – under development MSE TSC SCOPE

Summer ‘07 Improvements to visualizing 2-D data sets. Interactive log plotting. User requests from applications.

Tarun Pondicherry – my work Develop New Presentation Styles f(x,i) with color gradients f(x,y) Continuous color plots (color map) f(x,y,t) Indexed color plots Implement User Application Requests Aspect Ratio Resize ElVis File Convention Additions Animation Controls

Gradient Datasets Shows multiple time steps in order in a single view. Creates a linear gradient from first to last index. Useful to see how data changes over time. Animated Presentation Style New Gradient f(x,i)

Continuous Color Plot Displays a color profile of 2D data. Similar to contour, but shows all data points. Existing Contour Plot New Color Map Plot

Data Exploration Displays value as user moves the cursor.

Other Interactions Inherits ElVis interactions (zoom, pan, whiteboard, labels) for exploring and annotating data.

Log Scalable X, Y, and color axes independently scale logarithmically or linearly.

New Color Scale Chooser Allows users to specify color ranges. Add, delete or change a color point. Useful to draw attention to particular values. Color scale saved in ElVis convention. Useful for simulations & analysis programs to color-code plasma cross sections.

Indexed Color Map Plots f(x,y,t) During animation, moves through time dimension Creates images during animation Can be made from NetCDF Panel –Supports Templates –Supports NetCDF File Monitoring psiRZ for NSTX shot Data from Rob Andre. Click on image to play movie.

Animated  Images Saves steps in animated plots as a series of images. Can copy and paste all images into PowerPoint at once in order. Can easily be made into a wmv file using Windows Movie Maker. psiRZ over time.01 –.54 seconds

Aspect Ratio Resize Initial aspect ratio limited to 4:3 paper size graphs. Java AffineTransform used for resize --> Distortion Users requested gaining resolution and maintaining line width and aspect ratio. Now recalculates placement and increases resolution. Text aspect ratio also preserved. No distortion. Before:After:

ElVis Convention Additions ElVis convention allows users to save and open plots with presentation attributes (color, size, labels, etc.) Added functionality to save Contour, Surface, Color Plot, 2D Presentation Styles

Animation Controls Previously ElVis ran animations at the rate they loaded. My Additional Controls Runs at user defined frame rate. Dynamically sets frame rate based on server speed. Allows users to drop frames to maintain time base. CPES Sim. Vis. GTC Web Service

Animation Measurements Image Download Times for PC cppg-win2: –PPPL ~ 30ms –Rutgers ~ 50ms –Oak Ridge ~ 80ms Download rate for images stored as URLs on web servers.

Ben Phillips – my work Logarithmic plotting – graphical interaction. Improved surface plots of 2-D data sets. Application-driven features.

Challenges of Log Plotting Providing an interactive model ElVis Requirements Allow user to fine tune the viewing region Resize the graph window. Adjust the scales on the axes. Prevent user from “getting lost.” Enable the user to get a digital read out of specific values in a plot. Cleanly handle plots with values <= 0 Cannot take log of 0 or less.

Improvements to Log Plotting New features I implemented –Extended interactions of linear plots to logarithmic plots Tick marks Zooming Cursor –Created methods to handle the limitations of log plotting

Major and Minor Tick Marks Major tick marks specify decades (10 x, 10 x+1, 10 x+2, …) Minor tick marks specify points within a decade (2*10 x, 3*10 x, 4*10 x, …, 9*10 x ) Algorithm translated from rplot sglib Considers resolution to avoid crowding

Zooming – Allows users to examine areas of a log plot Click and drag region to zoom in.ElVis zooms in on the region and adjusts the axes appropriately.

Zooming – Graph must be at least one decade wide and tall I enforced minimum zooming region shown by red rectangle. This is the actual region that ElVis will display if the user lets go of the mouse.

Zooming – Axes limitations Users cannot zoom into a region that is less wide or less tall than a decade. Floating point precision bounds axes to the interval [10 -44, ]

Cursor – Digital Read Out Displays data values for each curve.

Challenges of Surface Plotting No 3-D graphics hardware acceleration. –No third party libraries such as Java3D. Heavyweight 3D components do not mix with Lightweight Swing components that support overlapping windows. ElVis must use 100% pure Java implementation in software. –Portable but slower than graphics hardware. –Must run in a browser. –ElVis cannot take advantage of the built-in memory and processing power present on many graphics cards.

My Surface Plot Improvements Logarithmic scales for axes Display Optimizations - Surface plots now display faster. Wireframe display during zoom, rotate, or resize. User can customize how much data is displayed dynamically. Memory Management

Log surfaces – Usefulness of log plots brought to three dimensions All three axes can be set independently to linear or logarithmic scales.

Wireframe Display Optimization Faster to rotate, resize, & zoom Makes rotating, resizing, and zooming smoother on surface plots.

Data Reduction Slider Even faster to rotate, resize, and zoom Users can control how much data to display while manipulating the surface.Demo

Surface graphs can take up a lot of memory! Problem is especially acute in Applets where memory is very limited. OutOfMemoryErrors crash ElVis –Unacceptable

Challenges of Handling Limited Memory Java’s garbage collector cannot be run on command. Java has a lot of behind-the-scenes implementation details dealing with runtime reflection that make estimating the size of classes difficult. OutOfMemoryErrors cannot be caught programmatically.

Consquences of Java’s Memory Handling Limitations ElVis must make an educated guess at the memory requirement for a Surface plot. –In practice it appears to be accurate to within 10% most of the time (20% off is the worst observed) Java memory handling features can still be broken in certain cases.

Surface plots are partially displayed when memory is low. Surface plots are only displayed with some of their polygons in low memory situations. If available memory becomes extremely low then ElVis does not allow any more Surface plots to be opened.

Java Memory Allocation Click on Run the ElVis Applet: w3.pppl.gov/elvis Browser applet limited to 64 MB. Run as application outside of brower = 200 MB click on Run ElVis Type in a command line: java -Xms Xmx elviscdf.jar = 900 MB

Adding more memory to Applets (On Windows + Java 1.5 or 1.6) Start -> Control Panel -> Java Plug-in -> Java Tab -> View Java Applet Runtime Settings Add a Java Runtime Parameter –Xmx[heapsize]m Example: -Xmx500m makes heap size 500 megabytes for Applets Java 1.5 can increase to ¼ system memory.

Points Editor Edit numerical values Fix spurious data. Created for fixing input profiles for the Nova-K web service.

Layout Manager Adjust the number of rows and columns Allows for easy manipulation of a large number of graphs. Collect & retain all graphs from an rplot session for comparisons.

Acknowledgements Thanks to –Eliot Feibush - Mentor, Slidesmith –PPPL Science Education Program: Christine Ritter, Andrew Zwicker & James Morgan –Princeton Plasma Physics Lab

Summary Improvements to ElVis foundation classes benefit display programs & web services that include ElVis. I want to thank Ben & Tarun for all the excellent work they have accomplished this summer.