Displaying 6 results from an estimated 6 matches for "x_distance_tmp".
Did you mean:
y_distance_tmp
2010 Nov 19
1
Using image/contour with unevenly spaced data...
...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_distance_val<-c(x_distance_val, x_distance_tmp)
y_distance_val<-c(y_distance_val, y_distance_tmp)
}...
2010 Nov 20
1
Setting a Red->Yellow->Green Color Transition in Image(...) with yellow corresponding with the Mean Value...
...e)
?
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(x_distance_val, x_distance_tmp)
?????????????? y_distance_val<-c(y_distance_val, y_distance_tmp)
?????? }
}
temperature_vals&...
2010 Nov 21
1
Alternatives to image(...) and filled.contour(...) for 2-D filled Plots
...ve
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_distance_val<-c(x_distance_val, x_distance_tmp)
y_distance_val<-c(y_distance_val, y_distance_tmp)
}...
2010 Nov 21
1
Possible to "add" filled.contour(...) to existing plot?
...ontour.
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_distance_val<-c(x_distance_val, x_distance_tmp)
y_distance_val<-c(y_distance_val, y_distance_tmp)
}...
2010 Nov 22
0
Problems using Internal filledcontour: "dimension mismatch"
...ound 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_distance_val<-c(x_distance_val, x_distance_tmp)
y_distance_val<-c(y_distance_val, y_distance_tmp)
}...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...>
>
> 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(x_distance_val, x_distance_tmp)
> ? ? ? ? ? ? ? ?y_distance_val<-c(y_distance_val, y_distance_tmp)
> ? ? ?...