similar to: How to display an image on RGL plot?

Displaying 20 results from an estimated 20000 matches similar to: "How to display an image on RGL plot?"

2007 Oct 08
2
Fill a polygon with a pattern
What is the simplest (namely: minimum number of libraries or conflicts) way to fill a polygon with a pattern? For example, suppose I have (in a graphic file, like a jpeg) the drawing of an "X". Then I fill a polygon (like a triangle) with this pattern, and get something like: X XXX XXXXX XXXXXXX (where the border "X"s could be truncated). I searched the rimage
2005 Nov 23
1
assign() problem
I've written a piece of code (see below) to do a wavelet image decomposition, during the evaluation of this code I would like to write the results of some calculations back to the R root directory. I used assign() to do so because the names should vary when going thrue a while() loop. For some unknown reason I get an error that says: Error in assign(varname[i], imwrImage) :
2007 Jun 05
2
biplot package
Dears, I've been learning biplot (Gabriel, 1971) and I found the function 'biplot', inside of the package 'stats', useful but, a bit limited. So, I'm thinking to start a colaborative package to enhance this methods to other multivariate methods. In this way, I would like to start it, making public a new function (biplot.pca, still in development, but running) that make
2010 Sep 27
2
rimage package problems
Hi all, I tried to install the rimage in order to get to the function ?read.jpeg. However, I get this error, independent what mirror I choose: install.packages("rimage") --- Please select a CRAN mirror for use in this session --- Warning message: In getDependencies(pkgs, dependencies, available, lib) : package ?rimage? is not available > Does anybody know what happend with the
2004 May 27
2
Is it possible to read jpeg files into R?
Hi Helpers, Does anyone know how to read jpeg, bmp or png files into R? I have some photos of brain scans and I want to quantify some aspects of their size. I might be able to do this with the 'locator' function, if I could figure out how to read the files in and make them into an image that I can display on the R Windows device. I have experimented with readBin, using a simple
2005 Oct 05
3
transparent surface in rgl
Hi all I am a complete newbie to this list (just subscribed) and a newcomer to R (an S user from olden times). I have been using scatter3d to create a 3d scatter plot with surface. The graphic is created within the rgl package and I have used rgl.postscript to export it so I can generate a publication quality image. My problem is that the plotted surface is no longer transparent in the
2005 Nov 21
3
PNG-import into R
Hi there I'm looking for a function to read PNG-bitmap-images from a file into R. I only found: - the pixmap-package which cannot import png or similar formats - the rimage-package which can only import lossy jpeg-images (the convertion from png to jpeg modifies the data!) Is there any possibility to read PNG-files? Thanks for any help Dominic Sydler
2012 Apr 12
2
scatter3d: problem with spheres-color
Dear List, I don't get scatter3d to color the sheres according to the '|' argument. library(car) scatter3d(prestige ~ income + education|type, data=Prestige) The spheres on my screen are all colored the same and they are not conditional on Prestige$type. On the other hand: Fit3d and Ellipse3d are colored according to the group argument. rgl_0.92.879 car_2.0-12 R version 2.15.0
2011 Dec 09
1
rgl.postscript() failure when saving a scene
Dear all, I write to the community to know if other people expierenced the same problem. I want to save a rgl scene where I plotted a 3d cloud of spheres whose radius is set proportional to a given variable and coloured by another group variable and with 95% ellipsoids for distribution of any group. I had no problem at all for coding but I had two problem when saving the scene (in any format)
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
Dear R-help I want to display an image file in a new plot frame. SVG is my preferred format, but I can also consider PNG, GIF, JPEG, TIFF, and PPM (from ImageMagick). By way of background (although not material to this posting), the image file is generated by a call to 'dot' (part of the 'Graphviz' suite) after the required .dot file has been produced using hand-crafted R code.
2009 Jul 28
1
reading jpeg images?
Can someone advise me what the most sensible way is to read jpeg images? For our work with image analysis and eye-tracking we have been using the rimage package, on both Macs and Windows PCs. But while setting up a new Windows machine yesterday, I see that rimage is regarded as orphaned, and no Windows binary is available. I eventually found an old zip file for the package, so I
2008 Dec 10
2
read.*: How to read from a URL?
The question is how to use a URL in place of a file= argument for read.*.functions that do not support this internally. e.g., utils::read.table() and her family all support a file= argument that can take a URL equally well as a local file. So, if I have a file on the web, I can equally well do > langren <- read.csv("langrens.csv", header=TRUE) > langren <-
2009 Oct 25
3
Trying to save both an rgl plot and a bar plot errors
Hello, I am basically using a script that is designed to first create an rgl 3d scatter plot followed by a barplot on the same data. After this is done, the program is to first save the barplot as a .tiff file then to save the rgl 3d graph as a .png file. Once this is done, it is to repeat this 3d plot and barplot combo with saving 49 more times. The plotting script excerpt will be posted at the
2006 Aug 23
3
rgl: exporting to pdf or png does not work
Hej, When exporting a image from rgl, the following error is encountered: > rgl.postscript('testing.pdf', fmt="pdf") RGL: ERROR: can't bind glx context to window RGL: ERROR: can't bind glx context to window Warning messages: 1: X11 protocol error: GLXBadContextState 2: X11 protocol error: GLXBadContextState The pdf file is created and is readable, but all the labels
2006 May 23
1
shapes in rgl
Does anyone have a way of producing solid shapes other than spheres in rgl? I am using rgl to produce a simple visualisation of a forest model results using "lollipops". Its just a bit of fun, but as many of the trees are pines I would like to depict their crowns as cones. If there is a solution I need it to work under windows. Here is the example. library(rgl) library(misc3d)
2003 Sep 08
2
Re: clustering polypeptide sequences
Hi Peter, You didn't give a very specific example, but it seems to me that what you wish to do is not really complicated. I suppose you have created a table of sequences vs. say hyprophobicity, charge, etc..., something like... seq hydroph arom b0001 0.104762 0.000000 b0002 0.035122 0.065854 b0003 0.024193 0.070968 b0004 -0.096729 0.084112 b0005 -0.973469 0.091837 b0006
2005 Feb 28
2
3d scatterplots of more than 1 data set
hi, i am need to plot two or more sets of data in a 3d scatterplot, each set with different color. i tried Rcmdr, and the 3d scatterplot facility, based on rgl. that is what i need. but i cannot seem to code different sets of data differently. any help will be very helpful. i tried scatterplot3d, but it is difficult to get the right angle in it. i need to be able to rotate the axes, and
2008 Dec 04
1
rgl.snapshot() on Vista
Dear Daniel (and Duncan): back in January you reported that you were having trouble saving an rgl movie on Vista. I don't know if you ever got that resolved, but a student of mine is now having a similar problem, not specific to dynamic graphics (which would have to be a problem outside of rgl anyway). He may report more on the symptoms, but essentially rgl.snapshot produces black or funky
2003 Aug 15
2
Is there a package for digitizing or reading jpegs, ets. in R?
I'm interested in digitizing some scanned time series, and looking for a solution that is easy and flexible. I thought I might be able to use R's locator() if I could get the image into a device. I noticed that there are some packages like (rimage), but it (a) doesn't seem to be available for the Windows version and forces me to upgrade a bunch of libraries for my linux system. It
2005 Oct 04
1
Rcmdr and scatter3d
Hi folks, I'd like to use scatter3d (which is in R commander) to plot more than one dataset in the same graph, each dataset with a different color. The kind of stuff you would do with "holdon" in Matlab. I read a recent message that was posted to this list with a similar problem, but I couldn't understand the reply. Could someone give me one example? How do you plot subgroups