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

X-Received by 2002:ac8:4741:: with SMTP id k1mr34363956qtp.374.1625843919978; Fri, 09 Jul 2021 08:18:39 -0700 (PDT)
X-Received by 2002:a25:d1c1:: with SMTP id i184mr47514716ybg.193.1625843919678; Fri, 09 Jul 2021 08:18:39 -0700 (PDT)
Path csiph.com!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Fri, 9 Jul 2021 08:18:39 -0700 (PDT)
In-Reply-To <e95b190e-372c-43c2-832e-4ae317cbecddn@googlegroups.com>
Injection-Info google-groups.googlegroups.com; posting-host=2601:547:300:da50:14b4:927:7870:4ba9; posting-account=yC8mVwkAAADuRBqBIdPVfec50l5EMdYn
NNTP-Posting-Host 2601:547:300:da50:14b4:927:7870:4ba9
References <e95b190e-372c-43c2-832e-4ae317cbecddn@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
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>
Injection-Date Fri, 09 Jul 2021 15:18:39 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.graphics.apps.gnuplot:4416

Show key headers only | 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