Note that there are some explanatory texts on larger screens.

plurals
  1. POShow Y Label in groups with Gnuplot
    primarykey
    data
    text
    <p>I have this points:</p> <pre><code>0.00049 1.509 0.00098 1.510 0.00195 1.511 0.00293 1.509 0.00391 1.510 0.00586 1.523 0.00781 1.512 0.01172 1.514 0.01562 1.510 0.02344 1.511 0.03125 1.510 0.04688 7.053 0.06250 7.054 0.09375 7.187 0.125 7.184 0.1875 7.177 0.25 7.207 0.375 16.588 0.5 24.930 0.75 39.394 1 56.615 1.5 77.308 2 84.909 3 89.056 4 88.485 6 88.678 8 89.022 12 88.513 16 88.369 24 88.512 32 88.536 48 87.792 64 87.716 96 87.589 128 87.608 192 87.457 256 87.388 </code></pre> <p>And this gnuplot script:</p> <pre><code>#! /usr/bin/gnuplot set terminal png set output "lat_mem_rd.png" set title "Memory Latency Benchmark (Stride 512)" set xlabel "Memory Depth (MB)" set ylabel "Latency (ns)" set xtics rotate by 45 offset 0,-1 set xtics font "Times-Roman, 8" set grid set style line 1 lc rgb '#0060ad' lt 1 lw 2 pt 7 ps 1 # --- blue plot "lat_mem_rd.dat" using (log($1)):2:xtic(1) smooth unique title "" with linespoints ls 1 </code></pre> <p>which generates this graphic:</p> <p><img src="https://i.stack.imgur.com/HyqP1.png" alt="Graphic Generated"></p> <p>But i want to show the y values in the y label with one of the approximated values in those approximations, for example, for all of the values with x values between 3 and 256, the y label is set to just one, maybe 88.513 that corresponds to x=12 or other (or maybe the average of those points if its not very difficult)...</p> <p>The same for x values between 0 and 0.02344 and for x values between 0.03125 and 0.1875.</p> <p>This y values will substitute the values 10, 20, ..., 90.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload