English 中文(简体)
GNUPlot矩阵图
原标题:GNUPlot matrix plot with changing distance between lines
  • 时间:2011-11-15 23:36:35
  •  标签:
  • gnuplot

在国产总值中,你可以根据一份标书,绘制3块地块,并附有一个矩阵图:

#Y 0.1  0.2  0.3  0.4
    0    1    4    9   #X =  1
    1    2    5   10   #X =  2
    4    5    8   13   #X =  3
    9   10   13   18   #X =  5
   16   17   20   25   #X =  7
   25   26   29   34   #X = 10

However the file I want to plot has some changes in X-distance between the lines. As shown in comment. One can use set xtics but that only changes the numbers on the plot, while the points should be plotted on a linear axis.

是否有办法这样做?

最佳回答

无,不包括此类基质。 http://web.archive.org/web/20110721044143/http://t16web.lanl.gov/Kawano/gnuplot/datafile-e.html

矩阵格式假设在x和 y点之间甚至会保持距离,但3D数据格式允许任意定位所有点。

问题回答

暂无回答




相关问题
Choosing line type and color in Gnuplot 4.0

I have two pairs of datasets, which I need to plot using Gnuplot. I want the first pair to be plotted in red, one solid and one dashed. The second pair, I want to plot in blue, one solid and one ...

Graph Formatting Tools For Octave

I know that Matlab allows for you to format the graph after its created through the interface. However there isn t the same features in Octave. Is there a tool that goes between Octave and GnuPlot? If ...

Labels on the input data in gnuplot

I have a datafile that looks like this #index name1 name2 name3 1 2 3 4 2 3 4 5 3 4 5 6 4 5 6 7 I want to plot 3 lines: plot "data" using 1:2 with lines, ... This works ok, except for the line ...

Drawing gant-like diagram from file in C with boxes and axis

I am programming system in C and I would like to draw rectangles into 2D plain with axis X and Y to represent generated data (scheduling problems).It should LOOK LIKE gant chart. Information are ...

Treat axis as date/time (epoch)

I m generating a graph with gnuplot of activity over the last twenty four hours, but the time axis looks really bad because it s trying to fit the long number for every five minutes in the last day. ...

Gnuplot Cumulative Column Question

I have some data. #Time Distance 1 3 2 5 4 9 8 11 12 17 14 20 16 34 20 40 I want to plot the cumulative distance wrt time in gnuplot ... (it should be easy) but I do not know how. x

Direct 2D gnuplot PNG animation?

Can anyone please confirm that yes/no Gnuplot 4.5 (on CVS) can output 2D animated PNG files? I have numerous datasets but one line that I d like to show iteratively in 3 different places in my graph. ...

热门标签