Transcription of gnuplot 5
1 gnuplot Interactive Plotting ProgramThomas Williams & Colin by: Ethan A Merritt and many othersMajor contributors (alphabetic order):Christoph Bersch, Hans-Bernhard Br oker,John Campbell, Robert Cunningham,David Denholm, Gershon Elber,Roger Fearick, Carsten Grammes,Lucas Hart, Lars Hecking, P eter Juh asz,Thomas Koenig, David Kotz,Ed Kubaitis, Russell Lang, Timoth ee Lecomte,Alexander Lehmann, J er ome Lodewyck,Alexander Mai, Bastian M arkisch,Ethan A Merritt, Petr Mikul k,Daniel Sebald, Carsten Steger, Shigeharu Takeno,Tom Tkacik, Jos Van der Woude,James R. Van Zandt, Alex Woo, Johannes ZellnerCopyrightc 1986 - 1993, 1998, 2004 Thomas Williams, Colin KelleyCopyrightc 2004 - 2019 various authorsMailing list for site and issue trackers: manual was originally prepared by Dick (December 2019)2gnuplot Gnuplot18 Copyright18 Introduction18 Seeking-assistance19 New features20 Features introduced in version.
2 20 New plot styles and style options ..20 New data pre-processing filters ..20 Polar mode improvements and extensions ..20 Nonlinear coordinates systems ..20 New commands and command options ..21 New data type"array"..21 New terminals and terminal options ..21 Other new features ..21 Features introduced in version ..22 Differences from version 422 Deprecated syntax23 Demos and Online Examples24 Batch/Interactive Operation24 Canvas size24 Command-line-editing25 Comments25 Coordinates25 Datastrings26 Enhanced text mode27 Environment28 Expressions28 Complex arithmetic ..29 Constants ..29 Functions ..30 CONTENTS gnuplot integrals ..31 Random number generator ..32 Value ..32 Counting and extracting words ..32 Operators ..32 Unary ..33 Binary ..33 Ternary ..34 Summation ..34 gnuplot -defined variables ..34 User-defined variables and functions ..35 Arrays ..36 Fonts37 Cairo (pdfcairo, pngcairo, epscairo, wxt terminals).
3 37Gd (png, gif, jpeg, sixel terminals) ..37 Postscript (also encapsulated postscript *.eps) ..37 Glossary38 Inline data and datablocks38 Iteration39 Linetypes, colors, and styles40 Colorspec ..40 Background color ..41 Linecolor variable ..41 Rgbcolor variable ..42 Dashtype ..42 Linestyles vs linetypes ..42 Layers43 Mouse input43 Bind ..43 Bind space ..45 Mouse variables ..45 Persist45 Plotting45 Start-up (initialization)46 String constants and string variables464gnuplot and Command line macros47 Substitution of system commands in backquotes ..47 Substitution of string variables as macros ..47 String variables, macros, and command line substitution ..48 Syntax49 Quote Marks ..49 Time/Date data50II Plotting styles51 Boxerrorbars51 Boxes51 Boxplot52 Boxxyerror53 Candlesticks54 Circles55 Ellipses55 Dots56 Filledcurves56 Fill properties ..57 Financebars57 Fsteps58 Fillsteps58 Histeps58 Histograms58 Newhistogram.
4 60 Automated iteration over multiple columns ..61 Image61 Transparency ..62 Image pixels ..63 Impulses63 CONTENTS gnuplot plots69 Surface plots ..692D projection (set view map) ..70 Polar plots70 Bee swarm plots70 Fence plots70 III Commands71 Break71Cd71 Call71 Example ..726gnuplot ..72 Clear73 Continue73Do73 Evaluate73 Exit74 Fit74 Adjustable parameters ..76 Short introduction ..77 Error estimates ..78 Statistical overview ..78 Practical guidelines ..79 Control ..79 Control variables ..79 Environment variables ..80 Multi-branch ..80 Starting values ..81 Tips ..81 Help82 History82If82If-old ..83 For83 Import83 Load84 Lower84 Pause84 Plot85 Axes ..86 Binary ..86 General ..87 Array ..87 Record ..87 CONTENTS gnuplot ..87 Format ..88 Endian ..88 Filetype ..88 Avs ..88 Edf ..88 Png ..88 Keywords ..89 Scan ..89 Transpose ..89Dx, dy, dz ..89 Flipx, flipy, flipz.
5 89 Origin..89 Center ..89 Rotate ..89 Perpendicular ..90 Data ..90 Bins ..91 Every ..92 Example datafile ..92 Index ..93 Skip ..94 Smooth ..94 Acsplines ..94 Bezier ..94 Bins ..95 Csplines ..95 Mcsplines ..95 Sbezier ..95 Unique ..95 Unwrap ..95 Frequency ..95 Fnormal ..95 Cumulative ..95 Cnormal ..95 Kdensity ..96 Special-filenames ..96 Piped-data ..97 Thru ..97 Using ..97 Usingexamples ..98 Pseudocolumns ..998gnuplot ..99X2ticlabels ..99 Yticlabels .. 100Y2ticlabels .. 100 Zticlabels .. 100 Volatile .. 100 Errorbars .. 100 Errorlines .. 100 Functions .. 101 Parametric .. 101 Ranges .. 102 Sampling .. 1031D sampling (x or t axis) .. 1032D sampling (u and v axes) .. 103 For loops in plot command .. 104 Title .. 105 With .. 105 Print108 Printerr108 Pwd108 Quit108 Raise108 Refresh108 Replot109 Reread109 Reset110 Save110 Set-show111 Angles.
6 111 Arrow .. 112 Autoscale .. 113 Noextend .. 114 Examples .. 114 Polar mode .. 114 Bind .. 114 CONTENTS gnuplot .. 114 Border .. 115 Boxwidth .. 116 Color .. 117 Colorsequence .. 117 Clabel .. 117 Clip .. 117 Cntrlabel .. 118 Cntrparam .. 118 Examples .. 119 Color box .. 120 Colornames .. 121 Contour .. 121 Dashtype .. 122 Data style .. 122 Datafile .. 122 Set datafile fortran .. 122 Set datafile nofpetrap .. 122 Set datafile missing .. 122 Set datafile separator .. 123 Set datafile commentschars .. 124 Set datafile binary .. 124 Decimalsign .. 125 Dgrid3d .. 125 Dummy .. 127 Encoding .. 127 Errorbars .. 128 Fit .. 128 Fontpath .. 129 Format .. 130 Gprintf .. 130 Format specifiers .. 130 Time/date specifiers .. 131 Examples .. 132 Function style .. 133 Functions .. 133 Grid .. 133 Hidden3d .. 134 Historysize.
7 135 History .. 135 Isosamples .. 135 Jitter .. 13610gnuplot .. 1363D key .. 138 Key examples .. 138 Extra key entries .. 138 Key autotitle .. 138 Key placement .. 139 Key samples .. 140 Multiple keys .. 140 Label .. 140 Examples .. 141 Hypertext .. 142 Linetype .. 143 Link .. 143 Lmargin .. 144 Loadpath .. 144 Locale .. 144 Logscale .. 144 Macros .. 145 Mapping .. 145 Margin .. 145 Micro .. 146 Minussign .. 146 Monochrome .. 147 Mouse .. 147 Doubleclick .. 148 Mouseformat .. 148 Scrolling .. 148X11 mouse .. 149 Zoom .. 149 Mttics .. 149 Multiplot .. 149Mx2tics .. 151 Mxtics .. 151My2tics .. 152 Mytics .. 152 Mztics .. 152 Nonlinear .. 152 Object .. 153 Rectangle .. 153 Ellipse .. 154 Circle .. 154 Polygon .. 155 CONTENTS gnuplot .. 155 Origin .. 156 Output .. 156 Parametric .. 156 Paxis .. 157 Plot.
8 157Pm3d .. 157 Algorithm .. 158 Lighting .. 158 Position .. 159 Scanorder .. 159 Clipping .. 159 Colorassignment .. 159 Corners2color .. 160 Border .. 160 Interpolate .. 160 Deprecatedoptions .. 161 Palette .. 161 Rgbformulae .. 162 Defined .. 163 Functions .. 164 Gray .. 164 Cubehelix .. 164 File .. 164 Gamma correction .. 165 Postscript .. 165 Pointintervalbox .. 166 Pointsize .. 166 Polar .. 166 Print .. 167 Psdir .. 167 Raxis .. 167 Rgbmax .. 167 Rlabel .. 167 Rmargin .. 168 Rrange .. 168 Rtics .. 168 Samples .. 168 Size .. 168 Style .. 169 Set style arrow .. 170 Boxplot .. 17112gnuplot style data .. 172 Set style fill .. 172 Set style fill border .. 172 Set style fill transparent .. 172 Set style function .. 173 Set style increment .. 173 Set style line .. 173 Set style circle .. 175 Set style rectangle .. 175 Set style ellipse.
9 175 Set style textbox .. 176 Surface .. 176 Table .. 176 Plot with table .. 177 Terminal .. 177 Termoption .. 178 Theta .. 178 Tics .. 178 Ticslevel .. 179 Ticscale .. 179 Timestamp .. 179 Timefmt .. 179 Title .. 180 Tmargin .. 181 Trange .. 181 Ttics .. 181 Urange .. 181 Variables .. 181 Version .. 182 View .. 182 Azimuth .. 182 Equalaxes .. 182 Vrange .. 183X2data .. 183X2dtics .. 183X2label .. 183X2mtics .. 183X2range .. 183X2tics .. 183X2zeroaxis .. 183 Xdata .. 183 Time .. 184 CONTENTS gnuplot .. 184 Xlabel .. 184 Xmtics .. 185 Xrange .. 185 Xtics .. 187 Xtics series .. 188 Xtics list .. 189 Xtics timedata .. 189 Geographic .. 190 Xtics logscale .. 190 Xtics rangelimited .. 191 Xyplane .. 191 Xzeroaxis .. 191Y2data .. 191Y2dtics .. 192Y2label .. 192Y2mtics .. 192Y2range .. 192Y2tics.
10 192Y2zeroaxis .. 192 Ydata .. 192 Ydtics .. 192 Ylabel .. 192 Ymtics .. 192 Yrange .. 192 Ytics .. 193 Yzeroaxis .. 193 Zdata .. 193 Zdtics .. 193 Zzeroaxis .. 193 Cbdata .. 193 Cbdtics .. 193 Zero .. 193 Zeroaxis .. 193 Zlabel .. 194 Zmtics .. 194 Zrange .. 194 Ztics .. 194 Cblabel .. 194 Cbmtics .. 194 Cbrange .. 194 Cbtics .. 19514gnuplot .. 196 Matrix .. 196 Uniform .. 196 Nonuniform .. 197 Every .. 197 Examples .. 198 Example datafile .. 198 Grid data .. 199 Splot surfaces .. 199 Stats (Statistical Summary)199 System201 Test201 Toggle201 Undefine202 Unset202 Linetype .. 202 Monochrome .. 202 Output .. 202 Terminal .. 203 Update203 While203IV Terminal types204 Complete list of terminals204 Aifm .. 204 Aqua .. 204Be .. 204 Command-lineoptions .. 205 Monochromeoptions .. 205 Colorresources .. 205 Grayscaleresources.