|
From: Dr. I. D. J. <die...@t-...> - 2010-11-23 19:43:25
|
Dear listmembers,
when plotting graphs I love to have arrows on all relevant axes. To achieve
this, I usually do the following:
********************************************************************************
XPOS=-0.11
YPOS=-0.085
X2POS=1.11
set arrow 1 filled size graph 0.035,8 lt 16 lw 2 from graph XPOS,0.62 to graph
XPOS,0.87
set arrow 2 filled size graph 0.035,8 lt 16 lw 2 from graph 0.6,YPOS to graph
0.77,YPOS
set arrow 3 filled size graph 0.035,8 lt 16 lw 2 from graph X2POS,0.62 to
graph X2POS,0.87
set output ("outfile.ps")
set terminal postscript enhanced color solid lw 2 "Arial,16"
......
*********************************************************************************
this works without any problem with linux, however I am facing a strange issue
on the windows platform. The placement of the arrow - nice, as expected, but:
the arrow tip is missing. In contrast, the tip is cut so that there is a
straight end of the arrow the width of which is about the size of the line
thickness.
Arrow tip on linux (solid, but cannot paint here)
*
******
****************
*********************
****************
******
*
Arrow tip on windows (solid, but cannot paint here)
*
******
****************
****************
****************
******
*
I would love to provide an example via a ps file if someone would kindly look
into this. I guess it is an issue of the postscript driver, however, this is
strange because AFAIK the drivers ought to be the same (eps-terminal gives the
same result)
Thank you very much, take care
Dieter Jurzitza
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-11-23 23:48:54
|
On 23.11.2010 20:09, Dr. Ing. Dieter Jurzitza wrote: > this works without any problem with linux, however I am facing a strange issue > on the windows platform. The placement of the arrow - nice, as expected, but: > the arrow tip is missing. In contrast, the tip is cut so that there is a > straight end of the arrow the width of which is about the size of the line > thickness. Platforms rather certainly don't have any relevance to this. This is pretty much guaranteed to be due to either a version difference or a configuration difference. Configuration difference can consist of commands in your ~/.gnuplot or its MS Windows equivalent, gnuplot.ini. See "help startup". Or maybe you modified your PostScript template files on only one of the two machines (--> "help postscript prologue"), and don't remember doing it. |
|
From: Dr. I. D. J. <die...@t-...> - 2010-11-24 18:53:27
|
Dear Mr. Broeker,
dear listmemebers,
knowing that this problem persists across different gnuplot releases on M$ and
knowing that there is no gnuplot.ini - file neither on M$ nor on linux I tried
to replace the directory PostScript and it's contents on the M$-tree by the
same directory from the linux tree.
This fixes the issue. So I am sure that there is a buglett in the postscript
configuration on M$ that causes arrows to be printed without a real peak on M$
platforms (see the example I provided).
Lacking the capability to interpret postscript code I cannot fix this, maybe
someone with more insight can do this in my place. This is not the fault of a
misconfiguration but an erratic initial configuration of gnuplot.
I never ever touched this directory before. The opensuse source rpm does not
contain any patch touching the files going into the PostScript directory as
far as I can see.
Thanks for pointing me into the right direction, I found my solution, however,
this solution is not generic.
Take care
Dieter
************
> you modified your PostScript template files on only one of the two
> machines (--> "help postscript prologue"), and don't remember doing it.
************
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
|
|
From: Hans-Bernhard B. <HBB...@t-...> - 2010-11-25 21:02:01
|
On 24.11.2010 19:53, Dr. Ing. Dieter Jurzitza wrote: > This fixes the issue. So I am sure that there is a buglett in the postscript > configuration on M$ that causes arrows to be printed without a real peak on M$ > platforms (see the example I provided). If anyone's to have a chance of investigating that, we'll need details: precise versions of gnuplot packages used on that Linux and that M$ box, primarily. If those are binary packages you got from somewhere other than our project download site on SourceForge, we'll need the actual URLs. > Lacking the capability to interpret postscript code I cannot fix this, If you send us (or post to the bug tracker on SourceForge) sample output or, failing that, the original PostScript prologues on those machines, someone will be able to do that. |