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

    Fireside Friday, November 27, 2020

    Hey folks! Fireside this week. A bit of a change-up in terms of the coming attractions. I had planned to start “Textiles, How Did They Make It?” next, but I want to do a bit more reading on some of the initial stages of textile production (that is, the pr…

    via A Collection of Unmitigated Pedantry November 27, 2020

    Building Depth and Window Space

    How much window space does an apartment need, relative to its area, and how does this affect building style? A fascinating post from about a year ago on Urban Kchoze makes the argument that modern North American buildings are too deep – Simon calls them o…

    via Pedestrian Observations November 27, 2020

    Thoughts you mightn't have thunk about remote meetings

    Welcome to this week's edition of "building a startup in 2020," in which all your meetings are suddenly remote, and you probably weren't prepared for it. I know I wasn't. We started a "fully remote" company back in 2019, but …

    via apenwarr November 23, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact