Clustered histogram doesn't render data file with one row

Jason Gionta <[email protected]> Fri, 26 Apr 2013 17:19:48 -0400
Newsgroups gmane.comp.graphics.gnuplot.bugs
Message-ID <CAFNsogfW1Rv_=076=JiuRnr-6BbE0HhbjHWOHYS88uptgvEZCQ@mail.gmail.com>
I believe I have found a bug where data from a one row data file doesn't
get rendered when multiple plots are used. Providing data and plot file
below. If you add a dummy line to the one line data file it plots fine. If
you only plot the one line data file it also is find. I want to cluster
based on f1 and f2.

data file 1 - f1.data
"Title" "Percent 1" "Percent 2"
Type1 87.896832 12.103168

data file 2 - f2.data
"Title" "Percent 1" "Percent 2"
Type2 73.676931 26.323069
Type3 73.983282 26.016718
Type1 26.836433

plotfile:
set title "Percentages"
set ylabel "Pecentage of Data"
set yrange [0:100]
set terminal postscript color
set output "test.ps"
set style data histogram
set style histogram rowstacked gap 1
set style fill solid border -1

set boxwidth .5
set key autotitle columnheader
set xtics rotate by -45

plot newhistogram "1" lt 1, "f1.data" u 2:xtic(1) title 'P1', '' using 3
title 'P2', \
newhistogram "2" lt 1, "f2.data" u 2:xtic(1) notitle, '' using 3 notitle
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
gnuplot-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs