Re: gnuplot:Connecting points with lines.



Angel Tsankov wrote:
Probably the comp.graphics.apps.gnuplot newsgroups is better suited for
this question, but I haven't got any answer for a couple days.

I consider using gnuplot for producing charts for latex documents. I
have the data in (x,y) coordinates that represent points that must be
interconnected by lines. Only adjacent points should be connected, i.e.

a line should be drawn from point 1 to point 2, another line should be
drawn from point 2 to point 3, and so on. What is the preferred method
to accomplish this and export the graphics into some format that latex
can read? Please, have in mind, that there might be a large number of
points and the coordinates may change in the future so that I may need
to redraw the chart with the new data.

"set style data lines" or "plot 'myfile.dat' with lines".

I normally output to EPS -- "set term postscript eps color enhanced" --
and import the result into LaTeX.

-- Scott

.



Relevant Pages

  • Re: gnuplot:Connecting points with lines.
    ... I consider using gnuplot for producing charts for latex documents. ... What is the preferred method to accomplish this and export the graphics into some format that latex can read? ...
    (comp.text.tex)
  • Re: Italic labels
    ... I tried this out, using the now modified script new3, as attached, ... You should run latex on the file new3.tex ... the file generated with gnuplot. ... package and adjusts the bounding box when call as above. ...
    (comp.graphics.apps.gnuplot)
  • Re: Problems with set terminal latex, diamonds etc
    ... I'm using gnuplot to generate graphs which I'm using in my latex ... does not support any sort of general multi-segment lines. ...
    (comp.graphics.apps.gnuplot)
  • Re: Two Questions:
    ... the Latex type syntax would work. ... I'm really thinking of a different pdf viewer. ... Last week I programmed an interface to gnuplot with a syntax like ...
    (comp.graphics.apps.gnuplot)
  • Re: Two Questions:
    ... the Latex type syntax would work. ... knows some special command sequence to send it when invoked. ... Last week I programmed an interface to gnuplot with a syntax like ... But what I really need is opening at a bookmark inside the doc. ...
    (comp.graphics.apps.gnuplot)