gnuplot tips (not so Frequently Asked Questions) HOME INTRODUCTION INFORMATION GALLERY JAPANESE Introduction to Gnuplot General Information not so FAQ Legend Tics Label 2-D Plot 3-D Plot Polar Coordinate Parametric Functions Data File After Plotting Miscellaneous Stuff Special Functions Spherical Harmonics Fractal Implict Function Gallery Set Commands Use for Technical Paper Submission Use for WWW Access Log Comparison of Terminals (J) About This Site Introduction to gnuplot Basic Use – from start to the end Use for a Numerical Calculation – Plots of Calculated Results Use for Experimental Data – Plots of Experimental Data Plot Functions and the Least-Squares fitting to experimental data Life with gnuplot Plotting styles General Information Where can I download the current version of gnuplot ? Where can I get FAQ of gnuplot ? What can I do if I find some mistakes in this document ? Do I have an archive of this web-site ? Related Topics / Link Notes on the gnuplot version (J) About this site About Legend How do I erase a legend ? How do I change the location of legend ? How do I get rid of error bars in a legend ? Location of the text is sometimes strange when Postscript symbols are used in it. Adjust the line-skip Make a frame-box About Tics How do I change an appearance of tics on each axis ? I want to use an exponent instead of a decimal like 0.001 in a log-scale plot. How do I change the format of the numbers ? How do I erase numbers ? I want to make intermediate values in the logarithmic tics. About Label I want to use super/subscripts in a text. I want to use Greek letters in a text. How do I adjust an interval between X,Y axes and their labels ? How do I specify positions and coordinates of labels ? I want to draw arrows in my figure. Can I use a colored label ? [ver.4] How can I change the direction of Y-axis name ? About 2-Dimensional Plot I want to make a fixed-size plot. I want to use both sides of Y-axes. I want to erase axes. I want to draw a square or fixed aspect ratio figure. I want to draw a zero axis. I want to get rid of small bars which appear at the top of error bars. I want to make letters larger. I want to connect all points with some smooth curves. I want to erase points those are on border. I want to draw several figures on one drawing. I want to draw a grid at minor tics. I want to draw two axes in the different scale I want to make grid at an arbitrary position. A small figure in a figure A simple bar-chart Align two figures those show the same data in a different way. Place two figures in a different scale. Compare two similar data with each other by absolute values and ratio. Display a graph with normal probability axis. How can I print values at each datapoint ? About 3-dimensional Plot Why the origin of Z-axis is not on the XY-plane ? I want to make a surface mesh finer. How do I change a view point ? How do I change contours ? I want to draw only contours on the 2-dimensional plot. How do I draw a 3-dim. grid graph from 3-Dim scattered data ? How do I draw a colored 3D figure ? [ver.4] I want to draw colors for contours. [ver.4] Pseudo 3D Bar graph How can I change the colors in a 3D figure ? About Polar Coordinate to plot data in the 2-dimensional polar coordinate. to draw lines from data-points to the origin. to draw grids. About Parametric Functions use of parameters to draw a vertical line to draw a circle, polygons exchange X and Y-axes Plotting Numerical Data in a Data File What is the format which gnuplot can recognize ? 2-dimensional data 3-dimensional data matrix How do I plot several data sets in a single file ? I want to modify values in my data file when plotting. I want to put some plotting commands in a data file. I want to eliminate some data points. How do I plot a part of data in a file ? How do I use UNIX commands inside gnuplot ? sort paste sed awk Date/Time Data plotting time-sequence data to change output text After Plotting I want to put a figure in my TeX document. I want to merge several figures into one figure. How do I convert a figure into image formats like PNG ? How do I change colors in a PostScript figure ? I want to get rid of a right-side margin in a square figure. Miscellaneous Stuff Ternary operator (A ? B : C) Broken functions Loop Least-Squares Fitting with non-linear functions (I) Least-Squares Fitting with non-linear functions (II) What is the dumb terminal ? How do I make a figure with many kinds of lines ? Write least-squares parameter values in the figure [NEW] Special Functions Spherical Harmonics Parametric Spherical harmonics Various angular momenta and magnetic quantum numbers Deformed Nucleus (Legendre Expansion) [ver.4] Fractal Recursive definition Mandelbrot set Self-Squared fractal Implicit Function To solve implicit functions [NEW]