Hi all - 

 

I am far from fluent in R and need some help polishing up a figure I am
trying to create. I wish to make a "tileplot" (from package extraLattice)
where the x axis is time (months; may - sept) and the y axis is space
(fishery management zones). Here is my code so far:

 

tileplot(effort~month_num*-area_num,mae,col.regions=topo.colors(100),

               border = "black",

               pch = ifelse(is.na(mae$effort), 4, 21),

               panel = function(...){

               panel.fill("black")

               panel.voronoi(...)

               })

 

This produces axis that looks something like (except with colored tiles):

 

-1

-2

-3

-4

-5

-6

-7

-8  

     5  6  7  8  9

 

But I'm hoping to have tick labels that look like:

 

T

N

C

B

KC

FB

SF
MO

       May  June  July  August September

 

Thanks in advance for any insight.

 

Regards,

 

Ryan Flaherty

Oregon State University

College of Oceanic and Atmospheric Science

Marine Resource Management

541-513-0293

rflahe...@coas.oregonstate.edu <mailto:flahe...@onid.orst.edu> 

 

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to