DataDraw >

      Examples set 4         View code: examples4.py




      axisdemo     Various numeric and categorical axis options.

      Ohio Kansas Michigan Oklahoma Mississippi New Mexico Wisconsin South Dakota New Hampshire Georgia 0 5 10 Categorical X (stubs rotated 40) Ohio Kansas Michigan Oklahoma Mississippi New Mexico Wisconsin South Dakota New Hampshire Georgia 0 5 10 0 5 10 Y axis on left and right.Categorical X (stubs rotated -45) 0 10 20 40 80 150 280 Y log space with stubcull 0 2,000 4,000 6,000 8,000 10,000 Group A Group B Group C Categorical Y, numeric X (stubs with commas) 2,000 4,000 6,000 8,000 Group A Group B Group C Y stubs rotated 20.Numeric X axis at top w/ limited stubrange

      Various date/time axis examples     Ranges are dynamically determined from the input data.

      axis_3days . . . . 3 days with date shown on midnight crossing
      0:00 6:00 12:00 18:00 0:00 6:00 12:00 18:00 0:00 6:00 12:00 18:00 0:00 Nov 17 Nov 16 Nov 18 Nov 19



      axis_2days . . . . 8 hours with date shown initially and on midnight crossing
      20:00 21:00 22:00 23:00 0:00 1:00 2:00 3:00 4:00 5:00 6:00 Nov 18 Nov 17



      axis_12years . . . . 12+ years with minor tics at quarter-years. With histogram of incidence counts.
      2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023



      axis_3year . . . . 3+ years with months; quarters and year crossings are shown
      O N D J F M A M J J A S O N D J F M A M J J A S O N D J F M A 2020 2019 2021 2022



      axis_3years_fy . . . . 3+ years with months; quarters and fiscal year crossings (July 1)
      O N D J F M A M J J A S O N D J F M A M J J A S O N D J F M A FY'21 FY'20 FY'22



      axis_3weeks . . . . 3 weeks, weekdays with Sunday week boundaries shown
      W T F S S M T W T F S S M T W T F S S M T W T F S Jan29 Jan25 Feb05 Feb12



      axis_3weeks_mon . . . . 3 weeks, day of month with month boundaries shown
      25 26 27 28 29 30 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Feb Jan



      axis_3weeks_webhits . . . . 3 weeks, both weekday and day of month with month boundaries. With histogram of incidence counts.
      W25 T26 F27 S28 S29 M30 T31 W01 T02 F03 S04 S05 M06 T07 W08 T09 F10 S11 S12 M13 T14 W15 T16 F17 S18 Feb'23 Jan'23



      axis_48hours . . . . 48 hours, terse AM/PM notation
      12a 6a 12p 6p 12a 6a 12p 6p 12a Feb08 Feb07 Feb09



      axis_48hours_partial . . . . 23 hours with midnite crossing
      9:00 12:00 15:00 18:00 21:00 0:00 3:00 6:00 9:00 12:00 Feb08 Feb07



      A business/trading hours datetime example can be seen in example set 6.