Hisome kind?
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
Best
GavinDear Gavin,
Ah, I think I see now. You couldDear Gavin,
set terminal pslatex size 25cm,17cm monochrome
set output "fileforlatex.tex"
plot sin(x)
set output
set term x11
rep
and just plot it again to the screen, but it might not look the same in a different terminal.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 11:33:56 |
Calls: | 6,645 |
Calls today: | 5 |
Files: | 12,190 |
Messages: | 5,326,624 |