File:Tuna all sizes Pengo.svg
Original file (SVG file, nominally 800 × 400 pixels, file size: 13 KB)
Captions
Caption
[edit]Maximum sizes of Thunnus tuna species. (centimetres)
Other version
[edit]-
Only species in Thunnus genus.
Creation info
[edit]Created in Ruby using SVG::Graph v0.6.1 by Pengo. And then hand-massaged (to make the x-axis use black text, put species names in italics, and shift labels by a few pixels so that they line up properly).
Source code
[edit]Output of program must be redirected into a file. e.g. save source code to tuna_graph.rb and then run
ruby tuna_graph.rb > tuna_all_sizes.svg
Source code:
require 'SVG/Graph/BarHorizontal' fields = ['Auxis rochei eudorax', 'Auxis rochei rochei', 'Auxis thazard thazard', 'Euthynnus affinis', 'Allothunnus fallai', 'Thunnus atlanticus', 'Katsuwonus pelamis', 'Euthynnus alletteratus', 'Thunnus alalunga', 'Thunnus tonggol', 'Gasterochisma melampus', 'Thunnus albacares', 'Thunnus maccoyii', 'Gymnosarda unicolor', 'Thunnus obesus', 'Thunnus orientalis', 'Thunnus thynnus'] thedata = [36.5, 50, 65, 100, 105, 108, 108, 122, 140, 145, 164, 239, 245, 248, 250, 300, 458 ] # Note: need to change .xAxisTitle to black by hand still... # .xAxisTitle{ # text-anchor: middle; # fill: #000000; graph = SVG::Graph::BarHorizontal.new({ :height => 400, :width => 800, :min_scale_value => 0, # 0 = default :fields => fields, :rotate_y_labels => false, :key => false, :scale_integers => true, # make sure the scale is in whole numbers :scale_divisions => 50, :show_x_title => true, :x_title => "centimeters" #:no_css => true }) graph.add_data({ :data => thedata, :title => 'cm', #:show_title => false }) #print "Content-type: image/svg+xml\r\n\r\n" print graph.burn
Licensing
[edit]Image credit: Peter Halasz. (User:Pengo)
Public domainPublic domainfalsefalse |
I, the copyright holder of this work, release this work into the public domain. This applies worldwide. In some countries this may not be legally possible; if so: I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law. |
If you wish to give attribution, please attribute image to:
- Peter Halasz
- and/or, link to this image page:
//commons.wikimedia.org/wiki/File:Tuna_all_sizes_Pengo.svg
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 06:02, 11 March 2007 | 800 × 400 (13 KB) | Pengo (talk | contribs) | {{PD-pengo}} |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on en.wikipedia.org
- Usage on hi.wikipedia.org
- Usage on id.wikipedia.org
- Usage on it.wikipedia.org
- Usage on jv.wikipedia.org
- Usage on kn.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on su.wikipedia.org
- Usage on vi.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 800 |
---|---|
Height | 400 |