Displaying 6 results from an estimated 6 matches for "y_distance_v".
Did you mean:
y_distance_val
2010 Nov 21
1
Alternatives to image(...) and filled.contour(...) for 2-D filled Plots
...cess using.
Thanks for any insights and feedback.
I would like to use the alternative 2-D fill function with the example I have
been messing with in place of image(...) or filled.contour(...):
library(akima)
hyp_distance<-seq(1,15)
angle_deg_val<-seq(0,15)
x_distance_val<-NULL
y_distance_val<-NULL
for(ii in 1:length(hyp_distance))
{
for(jj in 1:length(angle_deg_val))
{
x_distance_tmp<-hyp_distance[ii]*cos(angle_deg_val[jj]*pi/180)
y_distance_tmp<-hyp_distance[ii]*sin(angle_deg_val[jj]*pi/180)
x...
2010 Nov 19
1
Using image/contour with unevenly spaced data...
...y spaced on a Cartesian plot.
I was hoping that image(temp_samples) or contour(temp_samples) or something
similar would work, but my attempts didn't succeed.
Thanks for any feedback insights and hints...
hyp_distance<-seq(1,15)
angle_deg_val<-seq(0,15)
x_distance_val<-NULL
y_distance_val<-NULL
for(ii in 1:length(hyp_distance))
{
for(jj in 1:length(angle_deg_val))
{
x_distance_tmp<-hyp_distance[ii]*cos(angle_deg_val[jj]*pi/180)
y_distance_tmp<-hyp_distance[ii]*sin(angle_deg_val[jj]*pi/180)
x...
2010 Nov 20
1
Setting a Red->Yellow->Green Color Transition in Image(...) with yellow corresponding with the Mean Value...
...lors)
(I still couldn't get the Red->yellow->green transition figured out for this
example...ugh...need more caffeine)
?
I am hoping a similar amount of control is available using image:
?
library(akima)
?
hyp_distance<-seq(1,15)
angle_deg_val<-seq(0,15)
?
x_distance_val<-NULL
y_distance_val<-NULL
for(ii in 1:length(hyp_distance))
{
?????? for(jj in 1:length(angle_deg_val))
?????? {
?????????????? x_distance_tmp<-hyp_distance[ii]*cos(angle_deg_val[jj]*pi/180)
?????????????? y_distance_tmp<-hyp_distance[ii]*sin(angle_deg_val[jj]*pi/180)
?
?????????????? x_distance_val<-c(...
2010 Nov 21
1
Possible to "add" filled.contour(...) to existing plot?
...possible via image(...). In addition, I would like to be able to add a
grid via grid(...) to the plot and then add the filled contour.
Thanks for any insights and feedback...
# Example code...
library(akima)
hyp_distance<-seq(1,15)
angle_deg_val<-seq(0,15)
x_distance_val<-NULL
y_distance_val<-NULL
for(ii in 1:length(hyp_distance))
{
for(jj in 1:length(angle_deg_val))
{
x_distance_tmp<-hyp_distance[ii]*cos(angle_deg_val[jj]*pi/180)
y_distance_tmp<-hyp_distance[ii]*sin(angle_deg_val[jj]*pi/180)
x...
2010 Nov 22
0
Problems using Internal filledcontour: "dimension mismatch"
...NA values hoping that would help work
around this error. I'm kind of coming to the end of my guesses about how to
work around this error, so any feedback and advice is greatly appreciated.
library(akima)
hyp_distance<-seq(1,15)
angle_deg_val<-seq(0,15)
x_distance_val<-NULL
y_distance_val<-NULL
for(ii in 1:length(hyp_distance))
{
for(jj in 1:length(angle_deg_val))
{
x_distance_tmp<-hyp_distance[ii]*cos(angle_deg_val[jj]*pi/180)
y_distance_tmp<-hyp_distance[ii]*sin(angle_deg_val[jj]*pi/180)
x...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...t; I would like to use the alternative 2-D fill function with the example I
have
> been messing with in place of image(...) or filled.contour(...):
>
>
>
> library(akima)
>
> hyp_distance<-seq(1,15)
> angle_deg_val<-seq(0,15)
>
>
> x_distance_val<-NULL
> y_distance_val<-NULL
>
> for(ii in 1:length(hyp_distance))
> {
> ? ? ? ?for(jj in 1:length(angle_deg_val))
> ? ? ? ?{
> ? ? ? ? ? ? ?
?x_distance_tmp<-hyp_distance[ii]*cos(angle_deg_val[jj]*pi/180)
> ? ? ? ? ? ? ?
?y_distance_tmp<-hyp_distance[ii]*sin(angle_deg_val[jj]*pi/180)
>...