Graphics Width with gnuplot

I use gnuplot to profile my cuda program. I found a particularly useful width graph function. However, it seems that computeprof offers no way to export or customize the created graphs. Fortunately, all data is stored in csv format, so I thought I could do it myself using gnuplot or something like that. So, now to my question: I could not find an example for creating a graph of time blocks, you can create such a plot using gnuplot, and if so, how?

Example of a width plot

+3
source share
1 answer

, histograms, , gnuplot, . gnuplot . , .

:
Data.dat:

A B C D E F G H I J
0.41 0.03 0.74 0.97 0.15 0.05 0.11 0.60 0.25 0.76

gnuplot script:

set style data histogram
set style histogram rowstacked
set style fill solid border -1
set key autotitle columnheader
plot for [i=1:10] "Data.dat" using i

, ( ;)). , . 100% , , - .

+1

All Articles