|
From: janjust <tja...@un...> - 2012-06-21 19:55:03
|
Hello everyone,
I'm trying to generate a rowstacked histogram for various data points
My data snippet looks like this:
1 #Gnuplot data
2 Range Global Heap Stack Unidentified Total
3 9999 4258 0 5740 0 10000
4 19999 3236 0 6764 0 10000
5 29999 3356 0 6644 0 10000
6 39999 3261 0 6739 0 10000
7 49999 3291 0 6709 0 10000
8 59999 3148 0 6852 0 10000
9 69999 3292 0 6708 0 10000
and my script is attached, but the key line is below:
30 i = 5
31 plot 'mydata.dat' using (100.*$2/$6):xtic(1) t column(2), \
32 for [i=3:5] 'mydata_mibench_jpeg.dat' using
(100.*column(i)/column(6)) title column(i)
The problem I'm getting is that I don't want every xtic to be printed. I
have thousands of lines and ideally I want to print only every X^{th} line.
I found this
https://groups.google.com/forum/?fromgroups#!topic/comp.graphics.apps.gnuplot/M_ldKLSFXwg
page , but when i try to use something similar I get an error.
So to recap: I would like to print column 1 as my xtic but I want to print
only every X^{th} xtic.
Does anybody know how to achieve this?
Regards,
Tommy
--
View this message in context: http://old.nabble.com/gnuplot-histogram-xtic%281%29-tp34050807p34050807.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|