Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: sfeam Newsgroups: comp.graphics.apps.gnuplot Subject: Re: documentation clarification Followup-To: comp.graphics.apps.gnuplot Date: Mon, 21 Nov 2011 11:04 -0800 Organization: gnuplot development team Lines: 22 Message-ID: References: <75ae3b2c-53a6-4265-85a0-2c7120e25472@w3g2000vbw.googlegroups.com> Reply-To: sfeam@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit Injection-Date: Mon, 21 Nov 2011 19:04:02 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="joalffpZlyHxFtpFd/PRrw"; logging-data="25918"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+o8W70P/hCbnpfc5kGTrNB" User-Agent: KNode/4.4.9 Cancel-Lock: sha1:lYxUg8gM0oYqK+Tf/JYsmj3nEA4= Xref: x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:695 Oblio wrote: > The documentation shows two different examples for giving labels under > the Histograms section. The sample syntax is: > > set style histogram columnstacked > plot '' u 5:key(1) # uses first column to generate key titles > plot '' u 5 title columnhead # uses first row to generate xtic labels > > The comments appear to me not to be mutually exclusive. Correct. They can both be used for the same columnstacked plot. > In fact this > is what I'd like to do - can I combine "key(x)" to note that the data > is coming from column x, while using the "columnhead" to create the x > labels? This makes a lot more sense when you're creating a rowstack. That doesn't make sense. In a rowstacked plot each column of data contributes to every x value. How could you use the column header as an x label?