Re: [SLUG] latex gnuplot missing colour

2003-07-13 Thread Angus Lees

for simple graphs, you might also want to look into metapost.  a
little harder than gnuplot, but you have complete control over the
output (its a drawing language, rather than a plotting tool).

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] latex gnuplot missing colour

2003-07-10 Thread Douglas Hespe
On Thu, Jul 10, 2003 at 09:28:45AM +1000, Michael Lake wrote:
 
 How are you getting it into latex? Are you putting it out as an eps file 
 from gnuplot and pulling that into latex with \includegraphics or are 
 you outputting from gnuplot latex drawing commands? i.e. what are you 
 using for the 'set terminal' command in gnuplot for the output to go 
 into latex?
 
Mike,
I have used:
set terminal X11
plot [x=-1:10] sqrt(x/(x**2 + 1))
set terminal latex
set output eqn-aiv.tex
replot -sqrt(x/(x**2 + 1))
Without the second last two lines (setting latex and output) this 
generates what I want on the screen with the upper, positive half
in red and the lower half in green.
The output file is in latex \picture format which is imported into
the main tex-file.

Thanks, Doug.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] latex gnuplot missing colour

2003-07-10 Thread Laurie Savage
Douglas Hespe wrote:

On Thu, Jul 10, 2003 at 09:28:45AM +1000, Michael Lake wrote:
 

How are you getting it into latex? Are you putting it out as an eps file 
from gnuplot and pulling that into latex with \includegraphics or are 
you outputting from gnuplot latex drawing commands? i.e. what are you 
using for the 'set terminal' command in gnuplot for the output to go 
into latex?

   

Mike,
I have used:
   set terminal X11
   plot [x=-1:10] sqrt(x/(x**2 + 1))
   set terminal latex
   set output eqn-aiv.tex
   replot -sqrt(x/(x**2 + 1))
Without the second last two lines (setting latex and output) this 
generates what I want on the screen with the upper, positive half
in red and the lower half in green.
The output file is in latex \picture format which is imported into
the main tex-file.

Thanks, Doug.
 

I have found gnuplot does funny things with eps files. I usually 'set 
terminal fig' then manipulte the image in xfig and export as eps.

Laurie Savage



--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] latex gnuplot missing colour

2003-07-09 Thread Douglas Hespe
Hi any latex gurus out there,

I am trying to get gnuplot to draw y= +/- sqrt(x/(x**2+1)) into a latex
file using replot to get the positive and negative halves of the
relation. 
On the screen (using set terminal X11) it comes out fine with the top
half blue and the bottom half red.  The latex plot comes
out with only the top half drawn.  Even the legend shows a solid line
for the top half but no line for the bottom half. 
I have looked at the file but can not understand it well enough to see
what the problem is.
The file is too big to attach to this email but I would be happy to
send it to anyone who thinks they might be able to help.

TIA, Doug.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] latex gnuplot missing colour

2003-07-09 Thread Michael Lake
Douglas Hespe wrote:
 I am trying to get gnuplot to draw y= +/- sqrt(x/(x**2+1)) into a latex
 file using replot to get the positive and negative halves of the
 relation. 
 On the screen (using set terminal X11) it comes out fine with the top
 half blue and the bottom half red.  The latex plot comes
 out with only the top half drawn.  Even the legend shows a solid line
 for the top half but no line for the bottom half. 

How are you getting it into latex? Are you putting it out as an eps file 
from gnuplot and pulling that into latex with \includegraphics or are 
you outputting from gnuplot latex drawing commands? i.e. what are you 
using for the 'set terminal' command in gnuplot for the output to go 
into latex?

Mike
-- 

Mike Lake
Caver, Linux enthusiast and interested in anything technical.



UTS CRICOS Provider Code:  00099F

DISCLAIMER

This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.
If you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are those of the individual sender, except where the sender expressly,
and with authority, states them to be the views the University of
Technology Sydney. Before opening any attachments, please check them for
viruses and defects.




-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug