|
From: Thomas S. <t.s...@fz...> - 2010-02-03 20:04:47
|
you may - plot 'with errorlines' - plot 'with lines' & plot 'with errorbars' tom fogal-3 wrote: > > "Heeren,Tammo,IRVINE,R&D" <Tam...@Al...> writes: >> Tom, >> >> Why don't you simply plot the data twice? Once with linespoints and >> once with yerrorbars? > > > I tried giving my data file twice and notitle'ing the second time, > > but I can't seem to get the lines and error bars to be the same > > color. This is despite using `set line style' to explicitly set > > line colors, which seem to get ignored/silently changed if they > > overlap with another color. > > Actually, since posting I have partially got this to work in that > manner. The trick is using the same linetype for the two plots; trying > to set the second plot's linecolor to the first's ends up changing the > color to black. > > The downside is I'm getting *both* points and error bars superimposed > on top of each other. This isn't quite as terrible, as the figures end > up rather small in the final pdf, and it's hard to notice. Ideas on > that are welcome, though... > > -tom > >> > -----Original Message----- >> > From: tom fogal [mailto:tf...@al...] >> > Sent: Wednesday, February 03, 2010 10:40 AM >> > To: gnu...@li... >> > Subject: [Gnuplot-info] yerrorbars and linespoints >> > >> > I'm struggling to get a plot which includes both yerrorbars >> > and lines connecting the data points. >> > >> > I want something like: >> > >> > plot "data" title "t" with linespoints yerrorbars lw 3 ps 2 >> > >> > for example, but I get a parse error after the "linespoints". >> > I can plot with just yerrorbars, but then there's nothing >> > connecting my data. >> > I can plot with just lines or linespoints, but then of course >> > I don't get my error bars. >> > >> > I tried giving my data file twice and notitle'ing the second >> > time, but I can't seem to get the lines and error bars to be >> > the same color. >> > This is despite using `set line style' to explicitly set line >> > colors, which seem to get ignored/silently changed if they >> > overlap with another color. >> > >> > I'm using the postcript color enhanced terminal with gnuplot >> > 4.2 patchlevel 2. Any ideas? >> > >> > Thanks, >> > >> > -tom >> > >> > -------------------------------------------------------------- >> > ---------------- >> > The Planet: dedicated and managed hosting, cloud storage, >> > colocation Stay online with enterprise data centers and the >> > best network in the business Choose flexible plans and >> > management services without long-term contracts Personal 24x7 >> > support from experience hosting pros just a phone call away. >> > http://p.sf.net/sfu/theplanet-com >> > _______________________________________________ >> > gnuplot-info mailing list >> > gnu...@li... >> > https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > >> >> This e-mail (including any attachments) is confidential and may be >> legally pr >> ivileged. If you are not an intended recipient or an authorized >> representativ >> e of an intended recipient, you are prohibited from using, copying or >> distrib >> uting the information in this e-mail or its attachments. If you have >> received >> this e-mail in error, please notify the sender immediately by return >> e-mail >> and delete all copies of this message and any attachments. >> Thank you. > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/yerrorbars-and-linespoints-tp27441181p27442535.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |