File:Euro exchange rate to GBP.svg

From testwiki
Jump to navigation Jump to search
    Original file (SVG file, nominally 800 × 400 pixels, file size: 110 KB)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    Any autoconfirmed user can overwrite this file from the same source. Please ensure that overwrites comply with the guideline.

    Summary

    Description
    English: Exchange rate Euro - Pound Sterling
    Deutsch: Wechselkurs Euro - Pfund Sterling
    Date
    Source Own work
    Data from https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html
    (direct link to csv: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.zip)
    Author Gorgo
    SVG development
    InfoField
     The SVG code is valid.
     This exchange rate was created with gnuplot.
      This plot uses embedded text that can be easily translated using a text editor.
    Source code
    InfoField

    Gnuplot code

    # gnuplot script for plotting eurofxref-hist.csv as obtained from
    #  https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html
    
    # download and unzip data if not available - delete eurofxref* to force new download.
    # remove or comment out these lines in Windows/MacOS.
    ! [ -f eurofxref-hist.csv ] || wget https://www.ecb.europa.eu/stats/eurofxref/eurofxref-hist.zip
    ! [ -f eurofxref-hist.csv ] || unzip eurofxref-hist.zip
    
    #input
    set timefmt "%Y-%m-%d"
    set datafile missing 'N/A'
    set datafile separator ','
    
    #output
    set key top left
    set style data lines
    set grid
    
    set xdata time
    set format x '%Y'
    set xrange ['1999-01-01':*]
    set mxtics 6
    #set xlabel 'Date'
    
    set ylabel 'GBP'
    set format y '%.2f'
    
    ## gnuplot for SVG - gnuplot 4.2 / Ubuntu 8.10 
    set term svg size 800,400 font "Arial,10"
    
    set outp 'Euro exchange rate to GBP.svg'
    set style line 1 lt rgb 'blue' lw 1
    
    #available currencies:
    #first one is $2, second $3 and so on
    #USD,JPY,BGN,CYP,CZK,DKK,EEK,GBP,HUF,LTL,LVL,MTL,PLN,ROL,RON,SEK,SIT,SKK,CHF,ISK,NOK,HRK,RUB,TRL,TRY,AUD,BRL,CAD,CNY,HKD,IDR,ILS,INR,KRW,MXN,MYR,NZD,PHP,SGD,THB,ZAR
    
    plot 'eurofxref-hist.csv' usi 1:($9) title '1 Euro in GBP' ls 1
    

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
    This licensing tag was added to this file as part of the GFDL licensing update.

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    6 January 2009

    image/svg+xml

    112,921 byte

    727c72e0bd71459d9577619bf9d02dbe229059aa

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current12:54, 26 July 2024Thumbnail for version as of 12:54, 26 July 2024800 × 400 (110 KB)wikimediacommons>TheLotCarmenupdated

    There are no pages that use this file.