File:Gnuplot heatmap 3.svg
Original file (SVG file, nominally 512 × 341 pixels, file size: 140 KB)
Captions
Summary
[edit]DescriptionGnuplot heatmap 3.svg |
English: Demonstrate use of 4th data column to color a 3D surface (heatmap). |
Date | |
Source |
Own work (Original caption: " eigene Arbeit nach Quellcode aus Gnuplot Projekt ") |
Author | Karsten Adam at de.wikipedia |
Permission (Reusing this file) |
Released under the GNU Free Documentation License. |
Sourcecode
[edit]Dieser Quellcode ist Teil des Gnuplot-Projekts
set encoding iso_8859_1
set terminal svg size 600,400 dynamic enhanced fname 'arial' fsize 11 butt solid
set output 'heatmaps.3.svg'
set format cb "%4.1f"
set view 49, 28, 1, 1.48
set samples 25, 25
set isosamples 50, 50
set ticslevel 0
set cbtics border in scale 0,0 mirror norotate offset character 0, 0, 0
# set title "4D data (3D Heat Map)\nIndependent value color-mapped onto 3D surface"
set title "4D Daten (3D Heatmap)\nUnabh\344ngige Variable farbcodiert auf 3D Oberfl\344che"
set title offset character 0, 1, 0 font "" norotate
set rrange [ * : * ] noreverse nowriteback # (currently [8.98847e+307:-8.98847e+307] )
set trange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] )
set urange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] )
set vrange [ * : * ] noreverse nowriteback # (currently [-5.00000:5.00000] )
set xlabel "x"
set xlabel offset character 3, 0, 0 font "" textcolor lt -1 norotate
set xrange [ 5.00000 : 35.0000 ] noreverse nowriteback
set x2range [ * : * ] noreverse nowriteback # (currently [-0.500000:4.50000] )
set ylabel "y"
set ylabel offset character -5, 0, 0 font "" textcolor lt -1 rotate by -270
set yrange [ 5.00000 : 35.0000 ] noreverse nowriteback
set y2range [ * : * ] noreverse nowriteback # (currently [-0.500000:4.50000] )
set zlabel "z"
set zlabel offset character 2, 0, 0 font "" textcolor lt -1 norotate
set zrange [ * : * ] noreverse nowriteback # (currently [120.000:260.000] )
set cbrange [ * : * ] noreverse nowriteback # (currently [0.00000:22.0000] )
set pm3d implicit at s
set colorbox user
set colorbox vertical origin screen 0.9, 0.2, 0 size screen 0.03, 0.6, 0 front noborder
Z(x,y) = 100. * (sinc(x,y) + 1.5)
sinc(x,y) = sin(sqrt((x-20.)**2+(y-20.)**2))/sqrt((x-20.)**2+(y-20.)**2)
color(x,y) = 10. * (1.1 + sin((x-20.)/5.)*cos((y-20.)/10.))
GPFUN_Z = "Z(x,y) = 100. * (sinc(x,y) + 1.5)"
GPFUN_sinc = "sinc(x,y) = sin(sqrt((x-20.)**2+(y-20.)**2))/sqrt((x-20.)**2+(y-20.)**2)"
GPFUN_color = "color(x,y) = 10. * (1.1 + sin((x-20.)/5.)*cos((y-20.)/10.))"
# splot '++' using 1:2:(Z($1,$2)):(color($1,$2)) with pm3d title "4 data columns x/y/z/color"
splot '++' using 1:2:(Z($1,$2)):(color($1,$2)) with pm3d title "4 Datenreihen x/y/z/Farbe"
Licensing
[edit]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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
Attribution: Karsten Adam | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
Original upload log
[edit]- 2011-08-26 21:28 Karsten Adam 512×341× (143240 bytes) == {{int:filedesc}} == {{Information |Beschreibung = Demonstrate use of 4th data column to color a 3D surface (heatmap). |Quelle = eigene Arbeit nach Quellcode aus [http://gnuplot.sourceforge.net/demo_svg/heatmaps.html Gnuplot Projekt]
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 01:28, 8 September 2011 | 512 × 341 (140 KB) | File Upload Bot (Magnus Manske) (talk | contribs) | {{BotMoveToCommons|de.wikipedia|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}} {{Information |Description={{de|Demonstrate use of 4th data column to color a 3D surface (heatmap).<br/> == Quellcode == Dieser Quellco |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on de.wikipedia.org
- Usage on ru.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.
Image title | Produced by GNUPLOT 4.4 patchlevel 2 |
---|