|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
plot with image and set arrowHello all.
I need help for the following problem, anyone know the solution plz help. Line 1 and 2 below show an excerpt from my gnuplot file 1. set arrow from x1,y1 to x2,y2 nohead lw 0 2. plot "file.txt" with image What I try do to is to plot an image based on data from "file.txt" (line 2). In this image I want to draw a line from x1,y1 to x2,y2 (line 1). The problem is that the line draw is hidden behind the image drawn in line 2. Even though I change the order of line 1 and 2, the same problem occurs. Anyone know the solution plz help? Thanks for your time vph |
|
|
Re: plot with image and set arrowset arrow from x1,y1 to x2,y2 nohead lw 0 front
|
|
|
Re: plot with image and set arrowHi.
Thx to the solution from Thomas Sefzick. However, I've also experience another minor problem that I'm pretty sure there must be a solution. The problem is as follows: 1. set arrow from x1,y1 to x2,y2 nohead lw 0 front 2. set label "A" at x1,y1 center font "Bold,14" textcolor lt 1 front 3. set label "B" at x2,y2 center font "Bold,14" textcolor lt 1 front 4. plot "file.txt" with image The problem is that the line (in line 1) is drawn on top of the label A and B (line 2 and 3). This happens even though I put line 1 below line 2 and 3. What I want is to draw the label A and B on top of the line such that the order is like this: 1. Label A and B (top order) 2. Line 3. Image (bottom order) Anyone know the solution plz help. Regards Matrix72 -----Original Message----- From: Thomas Sefzick [mailto:t.sefzick@...] Sent: 16. juni 2009 12:38 To: gnuplot-info@... Subject: Re: [Gnuplot-info] plot with image and set arrow set arrow from x1,y1 to x2,y2 nohead lw 0 front matrix72 wrote: > > Hello all. > > I need help for the following problem, anyone know the solution plz help. > > Line 1 and 2 below show an excerpt from my gnuplot file > > 1. set arrow from x1,y1 to x2,y2 nohead lw 0 > 2. plot "file.txt" with image > > What I try do to is to plot an image based on data from "file.txt" (line > 2). > In this image I want to draw a line from x1,y1 to x2,y2 (line 1). The > problem > is that the line draw is hidden behind the image drawn in line 2. Even > though > I change the order of line 1 and 2, the same problem occurs. > Anyone know the solution plz help? > > Thanks for your time > > vph > > -- View this message in context: http://www.nabble.com/plot-with-image-and-set-arrow-tp23969412p24051713.html Sent from the Gnuplot - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Gnuplot-info mailing list Gnuplot-info@... https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
|
Re: plot with image and set arrowthe sequence in 'do_plot()' in 'graphics.c' is:
... place_objects(.,0,.,.) place_labels(.,0,.) place_arrows(0) then the plot is done, and then ... place_objects(.,1,.,.) place_labels(.,1,.) place_arrows(1) i see no other way than downloading the source and modifying and compiling it in order to get the sequence you need.
|
| Free embeddable forum powered by Nabble | Forum Help |