Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #590 > unrolled thread
| Started by | Andre <andre.rauh@googlemail.com> |
|---|---|
| First post | 2011-09-21 10:46 -0700 |
| Last post | 2011-09-22 07:22 -0700 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.graphics.apps.gnuplot
EEPIC + multiplot results in wrong picture env. Andre <andre.rauh@googlemail.com> - 2011-09-21 10:46 -0700
Re: EEPIC + multiplot results in wrong picture env. sfeam <sfeam@users.sourceforge.net> - 2011-09-21 19:17 -0700
Re: EEPIC + multiplot results in wrong picture env. Andre <andre.rauh@googlemail.com> - 2011-09-22 07:22 -0700
| From | Andre <andre.rauh@googlemail.com> |
|---|---|
| Date | 2011-09-21 10:46 -0700 |
| Subject | EEPIC + multiplot results in wrong picture env. |
| Message-ID | <22961972.199.1316627193860.JavaMail.geo-discussion-forums@yqaa12> |
I have the following script:
set term eepic dashed rotate small 9
set size 3.4/5., 2/3.
set multiplot layout 2,1
set lmargin at screen 0.1
set rmargin at screen 1.0
set bmargin at screen 0.55
set tmargin at screen 0.9
[...]
(I can post the entire file if necessary)
The problem is the generated .tex file:
% GNUPLOT: LaTeX picture using EEPIC macros
\setlength{\unitlength}{0.120450pt}
\begin{picture}(2040,1200)(0,0)
[...]
\thicklines \path(2876,1619)(2876,1578)
As you can see the \path paints outside the box and therefore my entire graphic is messed up. Adjusting the \begin{picture} manually to the (approx) coordinates used works for me right now.
gnuplot 4.4 patchlevel 2
[toc] | [next] | [standalone]
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Date | 2011-09-21 19:17 -0700 |
| Message-ID | <j5e5sp$sge$1@dont-email.me> |
| In reply to | #590 |
Andre wrote:
> I have the following script:
>
> set term eepic dashed rotate small 9
> set size 3.4/5., 2/3.
> set multiplot layout 2,1
> set lmargin at screen 0.1
> set rmargin at screen 1.0
> set bmargin at screen 0.55
> set tmargin at screen 0.9
> [...]
>
> As you can see the \path paints outside the box and therefore my
> entire graphic is messed up.
Your various commands are fighting against each other.
The "set margin at screen" commands win.
The other size / layout commands are to help the program lay out
the plot automatically. But when you say "set margin at screen XXX"
that overrides any automatic calculation and says
"put the edge of the plot exactly there!".
Now there may well be some additional problem, either a bug in
the eepic driver or a bad interaction between other commands.
One thing I note is that the "set size" command probably isn't
having the effect you intended, since it comes after the
"set term" command.
The eepic terminal has recently gained a new option
"set term eepic ... size XX,YY" to match other terminals,
but you don't have that available in version 4.4.2
Ethan
> Adjusting the \begin{picture} manually to
> the (approx) coordinates used works for me right now.
>
> gnuplot 4.4 patchlevel 2
[toc] | [prev] | [next] | [standalone]
| From | Andre <andre.rauh@googlemail.com> |
|---|---|
| Date | 2011-09-22 07:22 -0700 |
| Message-ID | <22467059.333.1316701350000.JavaMail.geo-discussion-forums@vbbek10> |
| In reply to | #592 |
Thanks for the reply. I'm still confused what the right order and which commands work with the EEPIC terminal. I've tried many combinations of 'size' after the multiplot commands each not working as I'd expect. I find the documentation very unclear about it too. All I want is to specify the total size of the plot so it fits my paper when I compile with latex. Plus, I need to say how large each one is and where it is located (the x-axis didn't line up when I add some y-label of larger size in the bottom plot). I think this is nothing special and should be standard procedure but I've spend a lot of time getting this to work (with EEPIC, other terminals work better) but have failed and now am modifying the resulting tex file to get the result I want.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.graphics.apps.gnuplot
csiph-web