File:Tuna sizes.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 800 × 400 pixels. Other resolutions: 320 × 160 pixels | 640 × 320 pixels | 1,024 × 512 pixels | 1,280 × 640 pixels | 2,560 × 1,280 pixels.
Original file (SVG file, nominally 800 × 400 pixels, file size: 8 KB)
File information
Structured data
Captions
This file has no description, and may be lacking other information.
Please provide a meaningful description of this file.
Contents
Summary
[edit]DescriptionTuna sizes.svg |
English: Maximum sizes of Thunnus tuna species. (centimetres) |
Source | Own work |
Author | Peter Halasz (User:Pengo) |
Other versions |
|
Licensing
[edit]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. |
Creation info
[edit]Created in Ruby using SVG::Graph v0.6.1. by Pengo.
First time using SVG::Graph.
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_sizes.svg
Source code follows:
require 'SVG/Graph/BarHorizontal'
fields = ['Blackfin', 'Albacore', 'Longtail', 'Yellowfin', 'Southern bluefin', 'Bigeye', 'Pacific bluefin', 'Northern bluefin']
thedata = [108, 140, 145, 239, 245, 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
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 16:10, 24 February 2007 | 800 × 400 (8 KB) | Pengo (talk | contribs) | ||
03:44, 22 February 2007 | 500 × 300 (17 KB) | Pengo (talk | contribs) | Maximum sizes of tuna species. {{Pengo}} | ||
03:43, 22 February 2007 | 1,052 × 744 (7 KB) | Pengo (talk | contribs) | Maximum sizes of tuna species. {{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 ar.wikipedia.org
- Usage on ca.wikipedia.org
- Usage on en.wikipedia.org
- Usage on id.wikipedia.org
- Usage on ja.wikipedia.org
- Usage on pt.wikipedia.org
- Usage on ru.wikipedia.org
- Usage on sr.wikipedia.org
- Usage on th.wikipedia.org
- Usage on vi.wikipedia.org
Hidden categories: