Last data update: 2014.03.03

R: Generic plotting of specific manifold indexed fractional...
plotR Documentation

Generic plotting of specific manifold indexed fractional Gaussian processes

Description

The function plots some of usual manifold indexed fractional Gaussian processes.

Usage

plot(x,y,...)

Arguments

x

an object of class process;

y

the type of the plot, possible choices are "default", "cloud" or "sun".

...

Other plot arguments

Author(s)

Alexandre Brouste (http://perso.univ-lemans.fr/~abrouste/) and Sophie Lambert-Lacroix (http://membres-timc.imag.fr/Sophie.Lambert/).

References

A. Brouste, J. Istas and S. Lambert-Lacroix (2010). On simulation of manifold indexed fractional Gaussian fields.

See Also

fieldsim, setProcess.

Examples

# Load FieldSim library
library(FieldSim)

# Fractional Brownian field on [0,1]^2
plane.fBm<-setProcess("fBm-plane",0.7)
str(plane.fBm)
fieldsim(plane.fBm)
plot(plane.fBm)

#The "cloud" plotting
plot(plane.fBm,"cloud")

#The "sun" plotting
plot(plane.fBm,"sun")

# Sphere indexed fractional Brownian field
#sphere.fBm<-setProcess("fBm-sphere",0.3)
#fieldsim(sphere.fBm)
#plot(sphere.fBm)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(FieldSim)
Loading required package: rgl
Loading required package: RColorBrewer
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/FieldSim/plot.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot
> ### Title: Generic plotting of specific manifold indexed fractional
> ###   Gaussian processes
> ### Aliases: plot
> 
> ### ** Examples
> 
> # Load FieldSim library
> library(FieldSim)
> 
> # Fractional Brownian field on [0,1]^2
> plane.fBm<-setProcess("fBm-plane",0.7)
> str(plane.fBm)
Formal class 'process' [package "FieldSim"] with 5 slots
  ..@ name     : chr "fBm"
  ..@ values   : num 0
  ..@ manifold :Formal class 'manifold' [package "FieldSim"] with 5 slots
  .. .. ..@ name    : chr "plane"
  .. .. ..@ atlas   : num [1:2, 1:289] 0 0 0 1 1 0 1 1 0.5 0.5 ...
  .. .. ..@ gridtype: chr "visualization"
  .. .. ..@ distance:function (xi, xj)  
  .. .. ..@ origin  : num [1:2, 1] 0 0
  ..@ covf     :function (xi, xj)  
  ..@ parameter: num 0.7
> fieldsim(plane.fBm)
> plot(plane.fBm)
> 
> #The "cloud" plotting
> plot(plane.fBm,"cloud")
> 
> #The "sun" plotting
> plot(plane.fBm,"sun")
> 
> # Sphere indexed fractional Brownian field
> #sphere.fBm<-setProcess("fBm-sphere",0.3)
> #fieldsim(sphere.fBm)
> #plot(sphere.fBm)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>