selecting the aspect ratio of a scatter plot based on its
play

Selecting the Aspect Ratio of a Scatter Plot Based on Its Delaunay - PowerPoint PPT Presentation

Selecting the Aspect Ratio of a Scatter Plot Based on Its Delaunay Triangulation Martin Fink Lehrstuhl f ur Informatik I Universit at W urzburg Joint work with Jan-Henrik Haunert, Joachim Spoerhase & Alexander Wolff 1 /15


  1. Selecting the Aspect Ratio of a Scatter Plot Based on Its Delaunay Triangulation Martin Fink Lehrstuhl f¨ ur Informatik I Universit¨ at W¨ urzburg Joint work with Jan-Henrik Haunert, Joachim Spoerhase & Alexander Wolff 1 /15

  2. Scatter Plots . . . . . . reveal trends . . . 2 /15

  3. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. 2 /15

  4. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] 2 /15

  5. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. [http://imgs.xkcd.com/comics/aspect ratio.png] 2 /15

  6. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. 2 /15

  7. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. 2 /15

  8. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. 2 /15

  9. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. 2 /15

  10. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. 2 /15

  11. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. 2 /15

  12. Scatter Plots . . . . . . reveal trends . . . . . . or clusters. . . . are most-frequently used visualizations in scientific publications. [Tufte, 2001] . . . heavily rely on the chosen aspect ratio. task: automatically select a good aspect ratio 2 /15

  13. Previous Work aspect-ratio selection for line charts e.g. banking to 45 ◦ [Heer + Agrawala, 2006] 3 /15

  14. Previous Work aspect-ratio selection for line charts e.g. banking to 45 ◦ [Heer + Agrawala, 2006] [Cleveland et al., 1988] suggest to use virtual line segments 3 /15

  15. Previous Work aspect-ratio selection for line charts e.g. banking to 45 ◦ [Heer + Agrawala, 2006] [Cleveland et al., 1988] suggest to use virtual line segments [Talbot et al., 2011]: use contour lines from kernel density estimator 3 /15

  16. Previous Work aspect-ratio selection for line charts e.g. banking to 45 ◦ [Heer + Agrawala, 2006] [Cleveland et al., 1988] suggest to use virtual line segments [Talbot et al., 2011]: use contour lines from kernel density estimator results depend on initial aspect ratio 3 /15

  17. Our Approach measure quality of different aspect ratios independently 4 /15

  18. Our Approach measure quality of different aspect ratios independently use the Delaunay triangulation 4 /15

  19. Our Approach measure quality of different aspect ratios independently use the Delaunay triangulation optimization criteria: – maximize smallest angle – minimize total edge length – optimize compactness of triangles – etc. 4 /15

  20. Our Approach measure quality of different aspect ratios independently use the Delaunay triangulation optimization criteria: – maximize smallest angle – minimize total edge length – optimize compactness of triangles – etc. 4 /15

  21. Definitions point Set P = { p 1 , . . . , p n } point p i = ( x i , y i ) 5 /15

  22. Definitions point Set P = { p 1 , . . . , p n } point p i = ( x i , y i ) scale factor s defines aspect-ratio 5 /15

  23. Definitions point Set P = { p 1 , . . . , p n } point p i = ( x i , y i ) scale factor s defines aspect-ratio p i ( s ) = (1 / √ s · x i , s · y i ) 5 /15

  24. Definitions point Set P = { p 1 , . . . , p n } point p i = ( x i , y i ) scale factor s defines aspect-ratio p i ( s ) = (1 / √ s · x i , √ s · y i ) preserve the area 5 /15

  25. Definitions point Set P = { p 1 , . . . , p n } point p i = ( x i , y i ) scale factor s defines aspect-ratio p i ( s ) = (1 / √ s · x i , √ s · y i ) preserve the area 5 /15

  26. First Idea aspect ratio s 6 /15

  27. First Idea aspect ratio s discretize into k aspect ratios 6 /15

  28. First Idea aspect ratio s discretize into k aspect ratios independently – compute Delaunay triangulation – measure quality 6 /15

  29. First Idea aspect ratio s discretize into k aspect ratios independently – compute Delaunay triangulation – measure quality select best checked aspect ratio 6 /15

  30. First Idea aspect ratio s discretize into k aspect ratios independently Θ ( n log n ) – compute Delaunay triangulation Θ ( n ) – measure quality select best checked aspect ratio 6 /15

  31. First Idea aspect ratio s discretize into k aspect ratios independently Θ ( n log n ) – compute Delaunay triangulation Θ ( n ) – measure quality select best checked aspect ratio runtime: Θ ( kn log n ) 6 /15

  32. First Idea aspect ratio s discretize into k aspect ratios independently Θ ( n log n ) – compute Delaunay triangulation Θ ( n ) – measure quality select best checked aspect ratio runtime: Θ ( kn log n ) approximation? which intermediate ratios? 6 /15

  33. Overview 1. Maintaining the Delaunay Triangulation 2. Maximizing the Smallest Angle 3. Minimizing the Total Edge Length 4. Other Optimization Criteria 7 /15

  34. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s 8 /15

  35. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s compute Delaunay triangulation 8 /15

  36. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s compute Delaunay triangulation continuously change s 8 /15

  37. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s compute Delaunay triangulation continuously change s perform flips if necessary 8 /15

  38. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s compute Delaunay triangulation continuously change s perform flips if necessary criterion: empty circumcircle of 4 points easy to check 8 /15

  39. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s compute Delaunay triangulation continuously change s perform flips if necessary 8 /15

  40. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s compute Delaunay triangulation continuously change s perform flips if necessary go through all flips 8 /15

  41. 1. Maintaining the Delaunay Triangulation aspect ratio s start at some s compute Delaunay triangulation continuously change s perform flips if necessary go through all flips 8 /15

  42. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips 9 /15

  43. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips update takes O (log n ) time [Roos, 1993] 9 /15

  44. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips update takes O (log n ) time [Roos, 1993] O ( n 2+ ǫ ) flips [Rubin, 2012] 9 /15

  45. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips update takes O (log n ) time [Roos, 1993] here: at most 2 flips per possible edge O ( n 2+ ǫ ) flips [Rubin, 2012] 9 /15

  46. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips update takes O (log n ) time [Roos, 1993] here: at most 2 flips per possible edge O ( n 2+ ǫ ) flips [Rubin, 2012] 9 /15

  47. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips update takes O (log n ) time [Roos, 1993] here: at most 2 flips per possible edge O ( n 2+ ǫ ) flips [Rubin, 2012] 9 /15

  48. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips update takes O (log n ) time [Roos, 1993] here: at most 2 flips per possible edge O ( n 2+ ǫ ) flips [Rubin, 2012] 9 /15

  49. 1. Maintaining the Delaunay Triangulation f. aspect ratio s sweep over possible aspect ratios handle event queue of edge flips update takes O (log n ) time [Roos, 1993] here: at most 2 flips per possible edge O ( n 2+ ǫ ) flips [Rubin, 2012] total runtime: O ( n 2 log n ) for traversing all topologically different Delaunay triangulations 9 /15

  50. 2. Maximizing the Smallest Angle aspect ratio s ���� optimize between event points 10 /15

  51. 2. Maximizing the Smallest Angle aspect ratio s ���� optimize between event points angle α describes function α ( s ) ∠ s 10 /15

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend