Mdst 3559-03-29-case-1b

231 views
207 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
231
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Mdst 3559-03-29-case-1b

  1. 1. Case 1 (iii)Text and Image in the Shahnameh<br />MDST 3559: DataestheticsProf. Alvarado03/29/2011<br />
  2. 2. Business<br />Midterms graded; submitted via Assignments<br />Blogging and comments – good work!<br />Assignment graded as part of participation<br />
  3. 3. Review<br />Review assignments<br />Use of Space<br />Use of jQuery<br />Review demo<br />How did I create breaks between MS’s?<br />
  4. 4. Overview<br />Create a new visualization<br />Interpret the data<br />Compare to WordleViz of episode titles<br />
  5. 5. Exercise: Create an Image Plot<br />http://pages.shanti.virginia.edu/Dataesthetics_S11/?p=279<br />
  6. 6. Image Plot<br />Goal<br />X: Episode (narrative time)<br />Y: Manuscript<br />Download and use new table of EPISODE_AND_PAGE<br />Includes the Manuscript code (e.g. PECK) for better sorting<br />Name the table shah_episode_and_page<br />
  7. 7. Image Plot<br />In making the query, reverse sort order of episodes and pages<br />Whereas before, you sorted by MS, now we sort by EPISODE<br />The order of your sorts in the query roughly match the X and Y axis<br />
  8. 8. Method 1: Use the Switch Pattern<br />Define a variable before the loop starts for the current MS Code – set to ‘’ at first<br />In the loop, see when the MS Code changes, insert a break<br />Use CSS to format width of caption<br />See v1.php<br />
  9. 9. Method 2: Use a Second Array<br />Iterate through array of table dataand convert data into another array<br />Second array will mirror the X / Y structure of the visualization we want<br />Remember that arrays are like this:<br />$array[X][Y][Z];<br />So, for example:<br />$results[X=Row Numbers][Y: Column Names]<br />See v2.php<br />
  10. 10. Where in the story are the most are illustrations?<br />Do any characters appear more often than others?<br />
  11. 11.
  12. 12. Khusraw and Rustam<br />Khusraw : Rustam :: Text : Image ? <br />
  13. 13. Key Idea<br />The structure of the visualization mirrors the structure of the data<br />Note the persistence of X and Y<br />In the sort order for the query<br />In the array indices<br />In the layout of the graph<br />
  14. 14. Reading for Thursday<br />Rustem and Sohrab (see blog)<br />

×