• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Horizontal Bar Graphs With Labels in Gnuplot

    January 10th, 2011
    tech  [html]
    I wanted a horizontal bar graph with labels. Gnuplot doesn't like to make such things, but after a while of searching I figured out how to convince it to. Data file:
      # index, age, name
      1       24      jeff
      2       25      julia
      3       22      rose
      4       20      alice
      
    Gnuplot file:
      set terminal png size "200x200"
      set output 'demo.png'
      set nokey
      unset border
      unset xtics
    
      plot 'demo.dat' using 1:(-1):3 with labels rotate right, \
           'demo.dat' using 1:2 with boxes
      
    Then rotate right in an image editor to get:

    Recent posts on blogs I like:

    Austerity is Inefficient

    Working on an emergency timetable for regional rail has made it clear how an environment of austerity requires tradeoffs that reduce efficiency. I already talked about how the Swiss electronics before concrete slogan is not about not spending money but ab…

    via Pedestrian Observations February 27, 2021

    Fireside Friday, February 26, 2021

    Fireside this week, but next week we are diving into our long awaited series on pre-modern textile production, though we will be particularly focused on the most important clothing fibers in the Mediterranean world, wool and linen (rather than, say, silk …

    via A Collection of Unmitigated Pedantry February 26, 2021

    The Troubling Ethics of Writing (A Speech from Ancient Sumer)

    (Translated from a transcript of an ancient Sumerian speech by Uruk's most well-respected Scriptological Ethicist) Writing is a profoundly dangerous technology: Access to writing was initially, and still remains, uneven. What's worse, the rich are m…

    via BLOG - Cullen O'Keefe February 15, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact