Displaying 20 results from an estimated 5000 matches similar to: "White lines on persp plots in pdf format"
2002 Mar 28
1
persp + postscript/pdf (PR#1419)
persp(outer(1:5, 1:5), shade=0.1)
looks nice on the screen, but
postscript()
persp(outer(1:5, 1:5), shade=0.1)
dev.off()
gives an all black surface.
same when using the pdf() device. has already been like that in 1.4.0.
.f
--please do not edit the information below--
Version:
platform = i686-pc-linux-gnu
arch = i686
os = linux-gnu
system = i686, linux-gnu
status = Under development
2007 Sep 10
1
persp() problem
I am having some trouble getting the persp() package to change the x
and y axis on a 3d plot. It defaults to the [0,1] interval and when I
try to change it I get errors.
Example:
This works:
------------
D <- c(1,2,3,4,5,6,7,8,9,10)
M <- c(11,12,13,14,15,16,17,18,19,20)
DM <- cbind(D,M)
persp(DM, theta = 40, phi = 30, expand = 0.5, col = "lightblue",
ltheta = 120,
2013 Oct 08
2
graphics:persp - suggestion
Dear Devels,
I'm not sure if I'm going the right way by mailing to this list. I have two
suggestions regarding the persp function from the graphics package:
1. In the documentation of the persp function, it is said, that the "col"
argument will ignore transparent colors. However, this is not true, if you
use strings as color code - at least it works with HEX-code (eg. :
2007 Feb 03
1
LyX 1.4.3-5 problem generating PDF documents
I just changed machines and, at first, could not get
LyX 1.4.3-4 to even load. I tried 1.5 which loaded
nicely but would not give me PDF output. Removed 1.5
tried using 1.4.3-5.exe. Result : On loading LyX :
lyx: Disabling socket
cont class std::basic_string<char struct std:
char::char_traits ...
Removed and installed from LyXWin143Complete-2-9.exe.
Loads okay but no PDF generation. My
2000 Oct 26
2
persp plot question..
Dear All,
I have been trying to to do this for a few days now. I can generate
persp plot OK and can generate it in colour using the command
persp(x,y,z,col=terrain.colors(20))
However, I was wondering if it is possible to shade the 3d surface like a
contour plot. i.e. black for large z, white for small z, say
Thanks in advance
Colin
2008 Jul 20
25
Formatting Problem of ZFS Adm Guide (pdf)
ZFS Administration Guide (in PDF format) does not look very professional (at least on Evince/OS2008.05). Please see attached screenshot.
This message posted from opensolaris.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zfs_adm_pdf.png
Type: image/png
Size: 173631 bytes
Desc: not available
URL:
2004 Oct 26
1
persp(), scatterplot3d(), "..." argument
Hello list.
I very often need 3d scatterplots, and use scatterplot3D quite a lot.
I am trying to modify persp() to plot scatterplots, and make use of
the theta and phi arguments that persp() offers. I am having some
difficulty passing the correct arguments to persp().
Here is my function so far. Much of it is copied from the persp() manpage.
points3d <- function(x,y,z,
2004 Oct 26
1
persp(), scatterplot3d(), "..." argument
Hello list.
I very often need 3d scatterplots, and use scatterplot3D quite a lot.
I am trying to modify persp() to plot scatterplots, and make use of
the theta and phi arguments that persp() offers. I am having some
difficulty passing the correct arguments to persp().
Here is my function so far. Much of it is copied from the persp() manpage.
points3d <- function(x,y,z,
2010 Feb 07
1
contour & persp
I have this data set that both x & y are ordered vectors of length 600 & 700 respectively; z is a 600 by 700 matrix whose entry z[i,j] is either a missing value (indicated by 'NaN') or a real number between 0 and 1. The contour function
contour(x,y,z)
gives me a blank picture. I guess the reason is that most of z-entries are missing, only less than 1% are non missing.
2009 May 27
1
contour lines on persp plot
Hello folks,
I am a beginner R user. I have been able to make a 3D surface plot using
'persp'. The surface is made by a grid of lines emanating perpendicularly
from each of the x and y axes at regular intervals.
I can get rid of that grid by setting 'border=NA'.
Can anyone suggest some ways to replace the grid with contour lines, to
create a 3-dimensional contour map?
Thanks
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
This problem has bugged me for several years now,
and our own IT staff has tried a few things, but then never
cared enough to persist fixing it.
It *is* a bug in evince, the standard pdf viewer on Fedora and
IIUC also quite few other Linux distributions, and
*not* a bug in R; hence I am asking for help/hints here.
A very simple example:
2001 Aug 07
1
multiple persp plots
Hello,
I would like to plot two superposed surfaces (original data, and smoothed
models). Basically, I would like to create a usual persp plot with box, and
then superpose a second surface (without box and axes) on the top plane of
the box defined by the first graph. I don't know if it is clear :-(
Is it possible to draw such a second surface in an existing persp plot in R?
Another (related)
2012 Jul 05
1
Adding Text to a persp plot using specific coordinates
Hi folks,
I'm experiencing some hassle to add some text on a persp plot...
Here is the code to generate the persp plot:
x <- seq(-1.95, 1.95, length = 30)
y <- seq(-1.95, 1.95, length = 30)
z <- outer(x, y, function(a,b) a*b^2)
persp(x, y, z,xlim=c(-2,2),ylim=c(-2,2),zlim=c(-8,8), phi=30, theta=-30,nticks=8,ticktype="detailed")
I've tried the text() function :
2003 Jun 05
1
persp(), par() and axis()
Dear R experts,
On explanation of persp() parameters the last item is:
...: additional graphical parameters (see `par').
However, setting the `tcl' parameter has no any effect.
I guess that axes are added to persp() in somewhat freakish
way, and have nothing in common with axis() function.
I found the very useful trans3d() function in persp() help
page, and I'd like to use it
2013 May 16
1
Contour lines in a persp plot
Hello folks,
i'm a R beginner and i want to put in a same plot both contour lines
and persp plot.
For example,
fn<-function(x,y){sin(x)+2*y} #this looks like a corrugated tin roof
x<-seq(from=1,to=100,by=1) #generates a list of x values to sample
y<-seq(from=1,to=100,by=1) #generates a list of y values to sample
z<-outer(x,y,FUN=fn) #applies the funct. across the combos of x
2007 Apr 11
2
persp Error. x,y,z with the same length
Hello,
I have a problem in drawing a 3d graphic. I simplified the program to show you the problem.
I have a text file with hundreds of entries in 3 columns. I scaned these columns with matrix(scan). Then, I transformed some datas. Now I have the datas in h,x,y.
I created a new matrix to use persp . But I got an error. The reason is probably the same length of x,y,z.
But what can I do the draw
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
Hi Martin
Probably not the answer you're looking for but on the latest Fedora 39 (workstation edition) both locally, and on a freshly installed VM (with just R-core installed), all fonts render correctly for me in evince.
$ evince --version
GNOME Document Viewer 45.0
$ R --version
R version 4.3.3 (2024-02-29) -- "Angel Food Cake"
Copyright (C) 2024 The R Foundation for Statistical
2008 Mar 11
2
persp question
someone sent in a question earlier about doing
something in 3D so i took a stab at it purely
for educational purposes ( i'm not even sure that I understood the question actually ).
Unfortunately, persp gives me an error that I don't understand because it says "object y not found". I'm sending y in as a parameter to persp similar to what ?persp shows in one of oits examples
2011 Nov 19
3
persp() problem
Hi, and thanks in advance for any assistance,
I'm new to R and to this mailing list, and am having trouble with the *
persp()* function. I've got a matrix (z) of values for various combinations
of x and y, each of which is a set of (0, 5, 10, 15, 20). But when I try *
persp(x,y,z)*, I get an "*invalid z argument*" error, and when I try simply
*persp(z)*, R returns an
2003 Sep 08
2
Persp Plot
I am trying to graph two planes on the same graph using persp(). I can only
get one plane to plot at a time. Can someone explain how I can graph two
planes on the same graph using persp? I've looked throught the
documentation, but cannot find any references to appending a persp plot.
Thanks.
Sincerely yours,
Mark J. Lamias
Statistical Consultant