Displaying 14 results from an estimated 14 matches for "setdash".
2010 Dec 14
1
postscript failure manifests in plot.TukeyHSD
...h an older R in my Mac, I found one difference:
$ diff -U2 oldtukeyplot.ps /Volumes/TIKKU/tukeyplot.ps
--- oldtukeyplot.ps 2010-12-14 12:06:07.000000000 +0200
+++ /Volumes/TIKKU/tukeyplot.ps 2010-12-14 12:13:32.000000000 +0200
@@ -172,5 +172,5 @@
0 setgray
0.00 setlinewidth
-[ 3.00 5.00] 0 setdash
+[ 0.00 0.00] 0 setdash
np
660.06 91.44 m
Editing the changed line to its old value "[ 3.00 5.00] 0 setdash" also
fixed the problem both in Linux and in Mac. Evidently something has changed,
and probably somewhere else than in plot.TukeyHSD (which hasn't changed
since r51093 in tru...
2002 Mar 25
2
Extreme value distributions (Long.)
.../Font4 exch definefont pop
%%IncludeResource: font Symbol
/Symbol findfont
dup length dict begin
{1 index /FID ne {def} {pop pop} ifelse} forall
currentdict
end
/Font5 exch definefont pop
%%EndProlog
%%Page: 1 1
bp
56.97 589.42 557.32 741.98 cl
0.0000 0.0000 0.0000 rgb
0.75 setlinewidth
[] 0 setdash
75.50 655.81 1.78 c p1
80.18 665.70 1.78 c p1
84.86 668.52 1.78 c p1
89.54 661.46 1.78 c p1
94.22 671.35 1.78 c p1
98.90 668.52 1.78 c p1
103.58 679.82 1.78 c p1
108.26 661.46 1.78 c p1
112.94 679.82 1.78 c p1
117.61 651.57 1.78 c p1
164.41 665.70 1.78 c p1
211.21 658.63 1.78 c p1
258.01 672.76 1.7...
1999 Jul 17
0
Use of lwd = 0, lty = 2 in segments. (PR#230)
...in of an error.
R> postscript("foo.ps")
R> plot(1:10, 1:10, type = "n")
R> abline(h = 5, lty = 2, lwd = 0) # works properly
R> segments(1, 1, 1, 3, lty = 2, lwd = 0) # fails
R> dev.off()
The last part of the PostScript file is
0.75 setlinewidth
[ 3.00 3.00] 0 setdash
np
77.04 290.39 m
743.76 290.39 l
o
0.00 setlinewidth
[ 0.00 0.00] 0 setdash
np
101.73 107.87 m
101.73 199.13 l
It is the line "[ 0.00 0.00] 0 setdash" that causes the problems.
The error message from Ghostscript is
Error: /rangecheckAladdin Ghostscript: Unrecoverable error, exit code...
2009 Dec 11
2
incorrect linetype with pdf device (PR#14128)
Full_Name: baptiste augui?
Version: 2.10.1 RC (2009-12-06 r50690)
OS: Mac OSX 10.5
Submission from: (NULL) (90.25.215.172)
The following code, run with a vanilla R session, produces different visual
output for the two devices,
library(grid)
pdf("test-pdf.pdf")
grid.newpage()
grid.lines(gp=gpar(lty="13", lineend = "butt"))
dev.off()
png("test-png.png")
2001 Feb 01
1
postscript and lty
...uot;)
lines(sample(10), lty="1F")
legend(4,4,paste("test", 1:5), lty=c(1, "9A1A1A","1A6A7A","9B","1F"))
dev.off()
gives (for me) the ghostscript error message:
hothorn at artemis:~/tmp/lty > ps2epsi test.ps
Error: /rangecheck in --setdash--
Operand stack:
--nostringval-- 0
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- 2 3 %oparray_pop
--nostringval-- --nostringval-- false 1 %stopped_push 1 3
%oparray_pop 1 3 %oparray...
2000 Jun 22
2
Postscript Legends (or not)
...b... 1964050 641418 1329174 46118 1
done.
Loading NimbusSanL-BoldItal font from
C:\gstools\gs5.50\fonts\n019024l.pfb... 1984140 672771 1349264 51419 1
done.
Loading StandardSymL font from C:\gstools\gs5.50\fonts\s050000l.pfb...
2024320 710401 1349264 53445 1 done.
Unrecoverable error: rangecheck in setdash
Operand stack:
0 --nostringval--
--- Begin offending input ---
--- End offending input ---
file offset = 4285
gsdll_execute_cont returns -15
--
Bob O'Hara
Metapopulation Research Group
Division of Population Biology
Department of Ecology and Systematics
PO Box 17 (Arkadiankatu 7)
FIN...
2005 Sep 03
1
Whole lotta stuff
...for converting ruby arrays into point arrays.
Added a typedef for wxDash
Corrected/expanded the typemap for GetTextExtent
Added GetMultiLineTextExtent prototype (there are some others missing I
didn''t add. I added this one because the typemap was so close to the other)
Added typemap for SetDashes
3) It''s very late (just flew out to the West Coast) and I''m not
thinking straight. But I seem to recall there was a problem I shelved
earlier today where appropriate ruby interfaces weren''t being created
for files we %import.
Roy
__________________________...
2003 May 30
0
Re: [R] Postscript query: plotting long vectors (PR#3132)
...> (followed by ~200000 lines of the same type, with slowly changing values)
>
> In the "bad" postscript file, at about the same point in the file, is this:
> %%EndProlog
> %%Page: 1 1
> bp
> 77.04 91.44 743.76 534.96 cl
> 0 0 0 rgb
> 0.75 setlinewidth
> [] 0 setdash
> np
> 101.73 313.20 m
> 0.00 0.01 l
> 0.00 0.01 l
> 0.00 0.01 l
> 0.00 0.01 l
> 0.00 0.01 l
> (followed by ~200000 lines, including some like these)
Confirmed on RedHat Linux 8.0. Filing as bug report. (An old
version of Splus had a similar bug: If you want to use rlineto,...
2003 May 29
4
Postscript query: plotting long vectors
Hi,
I have a query about the maximum length of vector that can be plotted
in one go in a postscript driver. Try the following code (in 1.7.0;
version details below):
t <- seq(from=0, to=4*pi, length=200000)
y <- sin(t)
postscript(file="o.ps")
plot(t, y, type="l")
dev.off()
If I view the postscript file o.ps in "gv", it takes many seconds
before eventually
2000 Jun 27
0
par(lty = "1") -- lty storage-etc bug (PR#584)
...Anon> bug, or am I missing something?
this made use it essentially something like
par(lty = "1")
Jim> This is an interesting problem. It boils down to the fact that
Jim> PostScript expects an array (even if it's empty) and an offset for
Jim> "setdash". Normally, a solid line is specified with an empty
Jim> array and zero offset. However, if R gets specs that convert to
Jim> zero and puts a zero in the array, the PostScript interpreter will
Jim> barf. Zero can appear, but there must be at least one non-zero
Jim&g...
2006 Oct 20
0
[695] trunk/wxruby2/swig/classes/include/wxPen.h: Get/SetStipple not available on GTK
...() const;
</span><span class="cx"> bool Ok() const;
</span><span class="lines">@@ -31,7 +34,10 @@
</span><span class="cx"> void SetColour(int red , int green , int blue ) ;
</span><span class="cx"> void SetDashes(int n , wxDash* dashes ) ;
</span><span class="cx"> void SetJoin(int join_style ) ;
</span><del>- void SetStipple(wxBitmap* stipple ) ;
</del><ins>+// not available on GTK
+#if defined(__WXMSW__) || defined(__WXMAC__)
+ void SetStipple(const wx...
2002 Jun 05
6
mixing different modes of lty line type specification in legend() ?
Hi List,
is sth. like the following possible:
legend(x,y,c("A","B","C"), lty=list(1,"42","11")) ?
Or: is there a possibility to define a solid line using the "string" mode for lty?
Thanks
Marcus
--
+-------- ><> -------------------------------------------
| E-Mail: eger.m at gmx.de (NEW)
| marcus.eger at
1999 Mar 03
4
xfig device
Hi, I am VERY interested in getting the xfig driver so that I can edit
graphical output from R. Searching through the mail archives and reading
documentation isn't helping. Is there or isn't there a working driver for
this purpose. How can I get it? I tried looking at the development version
of the tarballs, but I didn't find anything that looked promising in there.
Also, does
2004 Sep 24
5
AW: How to improve the quality of curve/line plots?
Thanks for the tip using a smoothing technique before plotiing in order to get a curve instead of a line connecting the observations.
But that's not the solution for my main problem with the "unclean" line plot. In order to show my problem let's take this simple example:
> xval <- c(1, 2, 3, 4, 5, 6, 7, 8)
> yval <- c(10, 30, 40, 50, 70, 90, 100, 110)
> plot