Learn R Programming

visualFields (version 0.6.2)

vfplot: visual field plot

Description

plots location-specific sensitivity thresholds, or TD or PD values at each location of the visual field with the corresponding color code for the probability map

Usage

vfplot( vf, plotType = "vf",
               xmin = NULL, xmax = NULL, ymin = NULL, ymax = NULL,
               notSeenAsBlack = TRUE, newWindow = FALSE,
               txtfont = "sans", pointsize = 10, width = 6,
               showaxis = FALSE, colaxis = "black" )

Arguments

vf

vf-object with sensitivity thresholds, or TD or PD values

plotType

Type of plot to show. It can be visual sensitivities (vf), total-deviation values (td), or pattern-deviation values (pd). Default is vf

xmin, xmax, ymin, ymax

minimum and maximum limits on the x and y axes, in degrees of visual angle. If NULL, then the limits are the maximum and minimum location values + 2.5 percent of the range. Default is NULL.

notSeenAsBlack

whether to plot non-seen as black. Default is TRUE

newWindow

whether to generate a new window for the plot. This becomes important when working with RStudio. Default value is TRUE

txtfont

font face of the text with visual-sensitivity values. Default is sans

pointsize

size of the text with visual-sensitivity values. Default is 10

width

width of the window. height is calculated using the width, xmin, xmax, ymin, and ymax. Default is 6

showaxis

Whether to show axis or not. Default is FALSE

colaxis

Color of the axis to show, if showaxis is TRUE. Default is black

Details

This function The vfplot function operates on a single row of visual fileds (vf). Depending on the plot type it will generate a plot representing the sensitivity at each location. The color scheme elucidates the degree of sensitivity at that location. Locations with zero sensitivity are shown in black. Blind spots have been excluded fronm the plot

See Also

vfplotloc

Examples

Run this code
# NOT RUN {
  vfplot( vf91016right[15,], plotType = "td" )
# }

Run the code above in your browser using DataLab