• 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:

    Learning Worst Industry Practices

    If I have a bad idea and you have a bad idea and we exchange them, we now have two bad ideas. But more than that. If I have a bad idea and you have a good idea and we exchange them, we should both land on your good idea – but that requires both […]

    via Pedestrian Observations September 20, 2020

    Collections: Iron, How Did They Make It? Part I, Mining

    This week we are starting a four-part look at pre-modern iron and steel production. As with our series on farming, we are going to follow the train of iron production from the mine to a finished object, be that a tool, a piece of armor, a simple nail, a w…

    via A Collection of Unmitigated Pedantry September 18, 2020

    Learning Game

    I came up with this game. In the game one person thinks of something and then gives the other person a clue. And the other person writes a guess down on a blackboard or a piece of paper. Or really anything you have that's laying around that's av…

    via Lily Wise's Blog Posts September 17, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact