1 / 20

ElVis Improvements Summer 2008

ElVis Improvements Summer 2008. Eric Zatz PPPL Summer Intern Mentor – Eliot Feibush August 11, 2008. Graphical User Interface. Cursor now takes form of the current whiteboard tool being used. Dashed Rectangle. Zoom. Pencil. Graphical User Interface.

carollee
Download Presentation

ElVis Improvements Summer 2008

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ElVis Improvements Summer 2008 Eric Zatz PPPL Summer Intern Mentor – Eliot Feibush August 11, 2008

  2. Graphical User Interface • Cursor now takes form of the current whiteboard tool being used. Dashed Rectangle Zoom Pencil

  3. Graphical User Interface • Fixed bug with Mac OS X where the ElVis buttons do not display properly. No Buttons Buttons Before After

  4. ElVis Markup Language • ElVis used binary serialization to send graphs via Transp • This caused graphs to unsuccessfully load in ElVis, so there was no data • Replaced this with mechanism with new method of data transfer by using ElVis Markup Language (EML) • EML is XML code that can be read in by ElVis to build graphs • Significantly reduce version mis-matches.

  5. Advantages of EML • No more data loss or crashing • Legible – humans can read it and know exactly what is happening • Can be sent as a stream (i.e. Transp) or saved to a file • Load EML from a URL for web access • Can send multiple graph windows at once • Allowed for integration with NSTX Web Tools

  6. Loading/Saving of EML • Now graphs can be saved on a local computer and reopened when ElVis is launched the next time through the File menu Loading Saving

  7. More Loading/Saving of EML • Since graphs can have millions of data points, needed an efficient way to process all of the data. • Originally, a graph with ~150,000 points would take about 3-4 hours to save. • Now, the same graph saves in about 2 seconds • To do this, I used StringBuffers to append the data to the EML file rather than simple String concatenations. • I added data to the StringBuffer in small pieces and then “reset” the buffer by emptying it out again. • Saves time because computer does not need to keep allocating memory in small amounts for each concatenation

  8. Bug Fixes in EML • 2D graphs not adding multiple datasets • Graphs not color coding datasets • Indexed graphs not animating • Inability to convert contour plots to surfaces • Missing Y-Axis labels for indexed graphs • Missing legend titles • Data tables not big enough to accommodate longer data values

  9. New Features for Transp Thanks to EML • Can turn axis gridlines on or off using EML Gridlines On Gridlines Off

  10. More New Features • Whiteboard annotations are now saved with EML and can be sent with the graph • Short titles – shorter titles that replace normal graph title when graph gets too small Short Title Normal Title

  11. More New Features • Logarithmic vs Linear number styles for graph axes • Set number of points to skip when showing markers Skip 2 points Skip 5 points

  12. Data Tables • Data Tables can now be sent using EML (didn’t work with binary serialization) • All elements of data tables (columns, top-text, bottom-text) can have their own fonts, colors, and background colors • EML allows for multiple top-text and bottom-text fields • Can change all colors from the graph editor window

  13. Data Table Fonts and Colors • Can send any recognized font, font styles (plain, bold, italic, or bold italic), and font sizes via EML • Can send background and font colors using rgb values, sRGB values, or by color name • Table headers and rows with labels default to gray background and other cells default to white background. • If the background color is manually set to a dark color and the font color is NOT set, ElVis will automatically make the font color white.

  14. Top and Bottom Text Fields Multiple top-text fields with different settings Multiple bottom-text fields with different settings

  15. Data Table Columns Column with row labels Column with normal data Columns with manually set colors

  16. Data Tables and the Graph Editor • Users can change the background and font colors of data tables using the graph editor’s “Data Table” tab. Left: Set whether to change the background or font color Right: Select column to modify

  17. Non-EML Data Table Features • Can now print data tables to postscript or pdf files • However, ElVis uses third party classes to print graphs so data tables had to fit on one page • New solution: Allow printing of data tables to html file so that data tables can display in any browser for any length data table

  18. More Data Table Features Data Table Printed as HTML

  19. More Data Table Features • The +T, -T, and Reset Labels buttons in ElVis now control data table font size • +T makes font bigger • -T makes font smaller • Reset Labels resets table fonts to original state

  20. Conclusion • New GUI features • EML for data transfer replaces binary serialization • New data table features

More Related