search for: temp_samples

Displaying 6 results from an estimated 6 matches for "temp_samples".

2010 Nov 19
1
Using image/contour with unevenly spaced data...
...image/contour functions. For example, I would like to have the x-distance on the x-axis and y-distance on the y-axis and then the temperature values determine the color used. Unfortunately this data was sampled such that it is not evenly 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)) { f...
2010 Nov 20
1
Setting a Red->Yellow->Green Color Transition in Image(...) with yellow corresponding with the Mean Value...
...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<-rnorm(length(x_distance_val), 75, 2.2) temp_samples<-cbind(x_distance_val, y_distance_val, temperature_vals) ak.fan <- interp(temp_samples[,1],temp_samples[,2],temp_samples[,3] ) filled.contour(ak.fan, levels = c(70, 73, 76,?80, 90), color = terrain.colors) image(ak.fan)
2010 Nov 21
1
Alternatives to image(...) and filled.contour(...) for 2-D filled Plots
...istance_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<-rnorm(length(x_distance_val), 75, 2) temp_samples<-cbind(x_distance_val, y_distance_val, temperature_vals) temp_samples_DF<-data.frame(x = x_distance_val, y = y_distance_val, z = temperature_vals) ak.fan <- interp(temp_samples[,1], temp_samples[,2], temp_samples[,3] ) length_val<-floor(max(temperature_vals) - min(temperature_vals...
2010 Nov 21
1
Possible to "add" filled.contour(...) to existing plot?
...istance_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<-rnorm(length(x_distance_val), 75, 2) temp_samples<-cbind(x_distance_val, y_distance_val, temperature_vals) temp_samples_DF<-data.frame(x = x_distance_val, y = y_distance_val, z = temperature_vals) ak.fan <- interp(temp_samples[,1], temp_samples[,2], temp_samples[,3] ) length_val<-floor(max(temperature_vals) - min(temperature_vals...
2010 Nov 22
0
Problems using Internal filledcontour: "dimension mismatch"
...istance_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<-rnorm(length(x_distance_val), 75, 2) temp_samples<-cbind(x_distance_val, y_distance_val, temperature_vals) temp_samples_DF<-data.frame(x = x_distance_val, y = y_distance_val, z = temperature_vals) ak.fan <- interp(temp_samples[,1], temp_samples[,2], temp_samples[,3] ) ak.fan.original<-ak.fan # Get rid of all the NA values and re...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...tance[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<-rnorm(length(x_distance_val), 75, 2) > > temp_samples<-cbind(x_distance_val, y_distance_val, temperature_vals) > > temp_samples_DF<-data.frame(x = x_distance_val, y = ?y_distance_val, z = > temperature_vals) > > > ak.fan <- interp(temp_samples[,1], temp_samples[,2], temp_samples[,3] ) > > length_val<-floor(max(tempe...