Displaying 6 results from an estimated 6 matches for "hyp_distance".
2010 Nov 19
1
Using image/contour with unevenly spaced data...
...e 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))
{
for(jj in 1:length(angle_deg_val))
{
x_distance_tmp<-hyp_distance[ii]*cos(angle_deg_val[jj]*pi/180)
y_distance_tmp<-...
2010 Nov 20
1
Setting a Red->Yellow->Green Color Transition in Image(...) with yellow corresponding with the Mean Value...
...), e.g.
filled.contour(ak.fan, levels = c(70, 73, 76,?80, 90), color = terrain.colors)
(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...
2010 Nov 21
1
Alternatives to image(...) and filled.contour(...) for 2-D filled Plots
...e out there, but curious about some of the favorites and
ones folks have had success 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<-...
2010 Nov 21
1
Possible to "add" filled.contour(...) to existing plot?
...(...). Filled.contour seems to provide the smoothing interpolation that
is not 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<-...
2010 Nov 22
0
Problems using Internal filledcontour: "dimension mismatch"
...colors, but that also seemed to produce the
same error. I also replaced all the 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<-...
2010 Nov 24
0
4. Rexcel (Luis Felipe Parra)-how to run a code from excel
...and
> ones folks have had success 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_va...