gnuplot

gnuplot pm3d plot triangle data

允我心安 提交于 2019-12-13 04:39:10
问题 i'm trying to plot an heatmap on a triangular surface, the coordinates and "heat values" are obtained with the methog shown on page staff.aist.go.jp/a.noda/programs/ternary/ternary-en.html. so, i process the data and obtain a data file in the form: x y val where x and y are values between 0 and 1, and val is an integer representing the frequency i need to show. the data file is this: http://tinyurl.com/lqsqtvv and the plot script is this: #!/usr/bin/gnuplot reset set terminal pngcairo size

Adding a background image to Gnuplot

允我心安 提交于 2019-12-13 04:32:45
问题 I want to put a jpg image as background for a gnuplot output file. The goal is to have a nice looking web based weather station. Right now I'm using gnuplot png output with transparent background setting and then setting a background image in the html code. But the result looks funky around the text. Check out the current state at : http://drgert.dyndns.ws:8000/bmp085/bmp085.php So I was thinking it might be better to set the background in gnuplot itself. I can set a background using a

How to improve lines quality of a heat map

a 夏天 提交于 2019-12-13 03:24:59
问题 I have plotted the matrix of numbers of this file pher-of-1365.txt with this code set encoding iso_8859_1 set term postscript eps enhanced color size 4.7in,4in set xlabel "longitude" set ylabel "latitude" set output "test0.eps" set size square set title "Pheromones" font "Helvetica, 16" set autoscale fix set key set yrange [:] reverse set view map splot 'pher-of-1365.txt' matrix with image Which produces this plot: The quality is not bad but the lines look blurred. Is there a way to improve

Gnuplot xrange not really a range?

三世轮回 提交于 2019-12-13 02:58:20
问题 I try to make a plot on gnuplot which has no real range order on x-axis. ---------------------> 1 4 2 20 17 12 10 8 It's therefore not a real function as you would interpret it with math knowledge, but it has some sort of index on its x-axis which has no numbering order and runs from 1-20 but 20 could be the first, or in the middle.. everything may be mixed.. hope you understand what I mean cause I am hoping gnuplot can handle that. maybe i can write my data file so that point 2 contains the

PaperSize option for Gnuplot in fitting fonts?

对着背影说爱祢 提交于 2019-12-13 02:56:31
问题 I used to set PaperSize in Matlab to control the font size in different axis. This is better than directly changing the fontsize. I think this kind of procedure can be working for gnuplot too. Here some overview of papersize in Matlab. An unanswered question here in SO about setting fontsize with partisan view how to do it. So Matlab's command set(hFig, 'PaperSize',[X Y]) Is there any similar way to control the papersize in Gnuplot as Matlab? I want to get consistent font sizes in my plots.

How to do linepoints with filled points in gnuplot?

眉间皱痕 提交于 2019-12-13 02:16:32
问题 I have another problem with gnuplot, maybe someone has a good idea, what to do: I wanted to plot some simple lines with points in black and white. Each line should get its own symbols for point but same style. Black border and white or grey on the inside, but then different shapes like circle or triangle. So far I am just able to produce the border, but inside is either completely empty/blank or I get just rounded interruptions. For my understanding this is due to the pi (pointinterval)

Unexplained differences in iteration between gnuplot 4.6 and gnuplot 5.0

梦想与她 提交于 2019-12-13 02:16:09
问题 In trying to answer a gnuplot question that involved the need to iterate over dates, I was told that my solution didn't work with gnuplot 4.6. In investigating why, I noticed a strange difference in how gnuplot 4.6 and gnuplot 5.0 are handling the same iteration construct. Consider these two iteration expressions do for [i=396835200:397094400:86400] {print i} do for [i=396835200:397008000:86400] {print i} In gnuplot 5.0, the first produces 396835200 396921600 397008000 397094400 and the

Preventing gnuplot from evaluating function for each data point

浪尽此生 提交于 2019-12-13 01:23:28
问题 I have trouble with some gnuplot plot command that is taking very long to execute. Basically, when you do the following with a data file: f(x) = sin(x) # for example! plot "data" u ($1-f($1)):2 f($1) will be evaluated for each data point that is to be plotted. Now, I have an external function: a(i) = real(system(sprintf("awk 'NR==1 {print $6}' dos_%i", i))) where the different dos_1 , dos_2 , etc. are my data files. This function returns a real number that is read from each file. The problem

Gnuplot: How to set new line in xtics timefmt

随声附和 提交于 2019-12-13 00:50:37
问题 I'm plotting a gnuplot diagram with float values in the y-axis and time values in the x-axis. The plotting itself works like a charm, but I can't get newlines in the time format to work. If I use the format specifier "%d.%m.%y %H:%M" it works like a charm, and the result is: 25.05.1983 17:23 . But when I add a newline character, so I have "%d.%m.%y\n%H:%M" the resulting labels are actually containing a line break but all I see is: 25.05.1983 . I also tried to increase the bmargin by several

gnuplot - making use of the yrange in pie charts?

别说谁变了你拦得住时间么 提交于 2019-12-12 22:40:39
问题 This only works for me if I do not set a yrange. Let's say I have a sample-time-overview.csv like ,avg,std,,,TProc,2267.5202096317,4573.0532262204 TParse,4.9922379603,138.6595434301,,,,, THash,86.4020623229,548.8593468508,,,,, TEnq,1.1181869688,2.0684998031,,,,, TInQ,1482.2243626062,4257.8024051927,,,,, TSend,2253.1871161473,4514.2823125251,,,,, TWait,1.7578696884,43.1050730747,,,,, TAnsw,14.3452407932,201.9216484892,,,,, TProcAll,2269.2780793201,4573.3927526674,,,,, TTotal,3853.3679320114