Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #4416

Re: How to produce screenplot and pslatex-plot with one batch file

Newsgroups comp.graphics.apps.gnuplot
Date 2021-07-09 08:18 -0700
References <e95b190e-372c-43c2-832e-4ae317cbecddn@googlegroups.com>
Message-ID <cff8b4a1-6be9-4fd0-bb7c-89e31c11371en@googlegroups.com> (permalink)
Subject Re: How to produce screenplot and pslatex-plot with one batch file
From Gavin Buxton <gavinbuxton@gmail.com>

Show all headers | View raw


Hi

I might be misunderstanding your question, but it seems like you want to see the output of your plot when the terminal is tex. I usually use ps or png files and then embed them in latex afterwards, so I would check it using something like:

set term post
set output 'temp.ps'
plot sin(x)
set output
!gv temp.ps

where the last command would open the file using ghostview (the exclamation mark just allows you to run external programs from gnuplot commandline). I don't use tex file directly, but I imagine to view the tex file you would need an external viewer of some kind?

Best


Gavin

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to produce screenplot and pslatex-plot with one batch file "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2021-07-08 07:30 -0700
  Re: How to produce screenplot and pslatex-plot with one batch file Gavin Buxton <gavinbuxton@gmail.com> - 2021-07-09 08:18 -0700
    Re: How to produce screenplot and pslatex-plot with one batch file "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2021-07-10 02:23 -0700
      Re: How to produce screenplot and pslatex-plot with one batch file Gavin Buxton <gavinbuxton@gmail.com> - 2021-07-10 08:07 -0700
        Re: How to produce screenplot and pslatex-plot with one batch file "hugocoolens@gmail.com" <hugocoolens@gmail.com> - 2021-07-13 04:53 -0700

csiph-web