Displaying 20 results from an estimated 6000 matches similar to: "Complex plotting problem"
2006 Nov 02
2
Simple question about Lists
Hello,
I know this must be a very simple problem, but I can't work it out
from the documentation that is available. I've got a list of data I
would like to plot (the weights of a single neuron that was trained
using the neural package). The problem I'm encountering is that this
set of weights, are in the form of a list.
> network$weigth[1]
[[1]]
[,1]
[1,]
2006 Dec 02
1
Trouble passing arrays to C code
Hello,
I'm having more trouble with interfacing with C code. I have a
function in C that will return the result of its computation as 3
arrays. The signature of the function is as follows:
void lorenz_run(double x0, double y0, double z0, double h, int steps,
double *res_x, double *res_y, double *res_z)
The function works, as I've tested it from within C itself and the
results
2006 Nov 24
1
Re : View code of function
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
Url : https://stat.ethz.ch/pipermail/r-help/attachments/20061124/c670126c/attachment.pl
2006 Oct 05
2
A statement over multiple lines (i.e. the ... feature in Matlab)
Hello again list,
I thought I'd start a new thread, seeing as it's completely different
from my previous question. Some functions I have written require many
parameters, and so do not fit nicely into an 80 column width display.
This is usually avoided, by spreading that particular statement over
a few lines. This is something that I do in Matlab with the following:
myFunc(
2006 Nov 22
1
What training algorithm does nnet package use?
Greetings list,
I've just swapped from the "neural" package to the "nnet" package and
I've noticed that the training is orders of magnitude faster, and the
results are way more accurate.
This leads me to wonder, what training algorithm is "nnet" using? Is
it a modification on the standard backpropagation? Or a completely
different algorithm? I'm
2007 Apr 12
2
Tweaking my plot of matrix as image
Greetings list,
I have a rectangular 20 x 20 matrix with values in the range of [0 ,
1]. I'd like to plot it as an image. To that end, I have used the
image() function that seems to do what I want. Now, I just want to
tweak it to look perfect. So here is my question:
At the moment, the values of the axis range from [0, 1]. I want it to
show the row and column of the matrix. How do I
2006 Oct 04
1
Some questions about plotting with R
Greetings list,
I'm currently in the process of migrating some Matlab code to R. It's
going well, but I'm running into trouble with plotting. There are a
few questions I have.
1) Is there any way to do a 3D line plot in R? This would be what the
Matlab function plot3 does.
2) I would like to create 3 separate plots. With Matlab, this is done
by doing ...
figure;
plot...
2006 Oct 05
11
Block comments in R?
Hello list,
Is there any way to perform a block comment in R? In C++, anything in
between a /* and */ is considered a comment, and it allows
programmers to comment out chunks of code for testing and debugging.
Is there such a feature in R?
Cheers,
Wee-Jin
2007 Sep 17
4
graphs with gradients of colors
Hi All,
I would like to fill the area under a curve with a gradient of colors. Are there any packages or trick I could use
Thanks
Stefan
Stefan Van Dongen
Antwerp
[[alternative HTML version deleted]]
2007 May 21
3
Selecting complementary colours
Dear r-helpers,
I wonder whether, given the "#rrggbb" representation of a colour, there is a
simple way to select the complementary colour, also expressed as a "#rrggbb"
string.
Any suggestions would be appreciated.
John
--------------------------------
John Fox, Professor
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
2006 Nov 24
1
View code of function
Dear list
I need to see the code behind a function. I used to be able to see the
code behind a function by typing e.g. mean(). Now I get the error message:
Error in mean.default() : argument "x" is missing, with no default. Please
advise.
Regards
Lize van der Merwe
--
This e-mail and its contents are subject to the
South African Medical Research Council
e-mail legal
2006 Nov 23
2
writing character to a file in UTF-8
Dear lister,
I would like to now if there a universal way to writing a character
vector to a file in UTF-8 encoding? By " universal", I mean a way
which works under Linux, Windows and Mac.
Thanks in advance!
--
Ronggui Huang
Department of Sociology
Fudan University, Shanghai, China
2008 Jan 23
4
image question
Hi,
I have a question regarding the image function. Is there a way to specify a
separate color set for each column in the matrix?
TIA,
ajar.
[[alternative HTML version deleted]]
2011 Mar 17
4
Help with plotting a line that is multicoloured based on levels of a factor
Hi All,
I'm trying to plot data that is a time series of flows that are associated
with a specific level, and I would like each level to represent a colour
in a line plot. Here is some data that approximates what I'm using:
date=c(1:300)
flow=sin(2*pi/53*c(1:300))
levels=c(rep(c("high","med","low"),100))
data=cbind.data.frame(date, flow, levels)
2006 Jun 02
2
plot with different color
Hi how can I plot a series of number as a line, but
with lines above a threshould as one color, and with
lines below the threshold as another color. for
example, a numeric vector: rnorm(1:100), and plot
these numbers in the original order, but lines above
the horizontal line at 0 are in red, and lines below
in blue?
Thanks
2008 Apr 08
2
diagonally fill a rectangle with color gradient
Hi,
Is it possible to diagonally fill a rectangle with a color gradient? I
noticed that the gradient.rect of plotrix could fill a rect either up and
down or from side to side. I am looking for something similar but fills
diagonally instead, e.g., from the upper left corner to the bottom right.
Does anyone know how to do it in R?
Thanks,
--
Tom
[[alternative HTML version deleted]]
2005 Feb 17
4
multiple crypto accelerator cards in one FreeBSD box
Hi there!
we are thinking of deploying a IPSEC VPN concentrator using multiple PCI bus
version VPN1401 cards in a FreeBSD box using hifn support..
From the technical specs in Soekris website
http://www.soekris.com/vpn1401.htm,
each card can support 24 to 70 connections. The question is if we
put 3 VPN1401 cards in a single box, does this mean the FreeBSD box can support
3 x (24 to 70) IPSEC
2007 Dec 30
1
Histogram with different colors for different portions
Dear Rusers,
I would like to color different sections of a histogram different colors.
I have an example that was done by "brute force" given below. Has anyone
implemented something like this in general? If not, any suggestions/pointers
on how to write a general function to do so would be most appreciated.
Alan-
2007 Jan 16
3
plot portion of a line
Dear HelpeRs,
Given:
x <- rnorm(50)
y <- rnorm(50)
plot(x,y)
abline(lm(x ~ y))
Is there a way to plot just a portion of the line? Say for values of x
> 2.0 or x > -2.0 and x < 4.0. (Still fitting all the points.)
Thank you,
jab
--
John Bollinger, CFA, CMT
www.BollingerBands.com
If you advance far enough, you arrive at the beginning.
2006 Sep 26
2
VPN in IPV6
I am a university student from Malaysia.This is my final year and i need to do final year project.I would like to try by applying the VPN in a IPV6 enviroment.Can sir give me some comments and idea on this topic?Thanks.
---------------------------------
Try the all-new Yahoo! Mail . "The New Version is radically easier to use" ? The Wall Street Journal
-------------- next part