# Graphs of errors for the EU “estimated sign”# Set terminalsetterminalsvgenhancedsize300300fs10setsamples1001# high qualitysetborder31linewidth.3# thin borderunsetkey# no key# Tolerable error function:# input is nominal quantity# output is tolerable negative error, as an absolute quantity# # e(x)/x is thus tolerable ~relative~ error#e(x)=x<50?9e-2*x\
:x<100?4.5\
:x<200?4.5e-2*x\
:x<300?9\
:x<500?3e-2*x\
:x<1000?15\
:1.5e-2*x# X-range and x-tics# Set x tics at the cutoff pointssetxtics(""5,""50,"100"100,"200"200,"300"300,"500"500,"1000"1000)# Set representative x-range:# undefined below 5, and# extending above 1500 to 10,000 just shrinks the interesting part of the graph# # (A log-scale on the x-axis would fit everything in, but obscure the linearity# in the absolute error; it would be ok in the relative error though.)setxrange[5:1500]# Draw the x grid, to show rangessetgridx##################### Absolute error##################### Set y tics at the fixed amountssetytics(4.5,9,15)# Set y-range to go from 0 to max (over this x-range)setyrange[0:22.5]setoutput"eu-estimation-tolerance-absolute.svg"plote(x)##################### Relative error##################### Set y-tics at the fixed percentagessetytics(1.5,3,4.5,9)# Set y-range (0% – 10%) to include all percentages, with clearance for 9%.setyrange[0:10]setformaty"%g %%"# Format as percentagesetoutput"eu-estimation-tolerance-relative.svg"# Multiply by 100 so as a percentageplote(x)/x*100
רישיון
Nils R. Barth, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיון הבא:
Public domainPublic domainfalsefalse
ברצוני, בעלי זכויות היוצרים על יצירה זו, לשחרר יצירה זו לנחלת הכלל. זה תקף בכל העולם. יש מדינות שבהן הדבר אינו אפשרי על פי חוק, אם כך: אני מעניק לכל אחד את הזכות להשתמש בעבודה זו לכל מטרה שהיא, ללא תנאים כלשהם, אלא אם כן תנאים כאלה נדרשים על פי חוק.
{{Information |Description={{en|1=Relative estimation tolerances for the European Unionestimated sign.}} |Source=Own work by uploader |Author=Nbarth |Date=2009-03-25 |Permission= |other_versio