|
From: Thomas S. <t.s...@fz...> - 2011-01-22 12:28:46
|
you could plot points on top of the data curve: plot "datafilename" with lines, "" using ((int($1)-1)%3==0?$1:0/0):2 with points with the same mechanism (plot specific points only) you may plot labels too (... with labels offset ...). instead of 'with points' you may use 'with yerrorbars' and give the 'ydelta' value as a third argument to the 'using' option. On Sat, Jan 22, 2011 at 08:36:30AM +0100, Rojan Shrestha wrote: > Thank you. But this code does not work for my problem. > > No, the marker is on the curve. > > I want to plot the marker on curve as an errorbar but in shorter form. At > the same time, I also want to label that region with particular legend. > > I tried to find in internet but I was unable. > > Could you have an idea to do this job? > > Regards, > > Rojan Thomas Sefzick wrote: > > should the markers be below the curve? like this: > > unset border > set xtics nomirror > set xtics 1,3 > set xtics offset first 1.5,0 > set ytics nomirror > plot 'datafilename' with lines > > > Rojan Shrestha wrote: >> >> Hello: >> >> I am plotting data. Here is an example: >> >> 1 0.65 >> 2 0.67 >> 3 0.85 >> 4 0.95 >> ... >> 100 0.63 >> >> What I want is - I want to put a label between 1 and 4 as 1 and a marker >> "|" >> at 1 and 4 respectively. >> >> I hope you understand my purpose. Could you provide me an idea to solve >> this >> problem? >> >> Regards, >> >> Rojan >> >> -----Original Message----- >> From: Thomas Sefzick [mailto:t.s...@fz...] >> Sent: Friday, January 21, 2011 6:23 PM >> To: gnu...@li... >> Subject: Re: [Gnuplot-info] Labels and marks in the curve >> >> >> are you plotting data or are you plotting functions? >> >> could you provide a small example showing your problem? >> >> >> Rojan Shrestha wrote: >>> >>> Hello: >>> >>> >>> >>> I would like to know about features available for marks and labels in >>> gnuplot. >>> >>> >>> >>> My problem is here: >>> >>> >>> >>> I want to mark at different intervals in the curve instead of axes with >>> a >>> symbol. I tried using set label and set arrow commands but I was unable >>> to >>> reach at end. I am trying this in multi-graph. I am appreciating all of >>> you >>> who has known about this problem. >>> >>> >>> >>> Regards, >>> >>> >>> >>> Rojan >>> >>> >> ---------------------------------------------------------------------------- >> -- >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better >>> price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsight-sfd2d >>> _______________________________________________ >>> gnuplot-info mailing list >>> gnu...@li... >>> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >>> >>> >> >> -- >> View this message in context: >> http://old.nabble.com/Labels-and-marks-in-the-curve-tp30725727p30726949.html >> Sent from the Gnuplot - User mailing list archive at Nabble.com. >> >> >> ---------------------------------------------------------------------------- >> -- >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better >> price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> >> > > -- View this message in context: http://old.nabble.com/Labels-and-marks-in-the-curve-tp30725727p30735927.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |