[R] remove black square from factor plot
Jonas Josefsson
jonas at runtimerecords.net
Wed Oct 20 17:43:27 CEST 2010
> str(species.factor)
> Factor w/ 81 levels "Acer_platanoides_Bl",..: 12 12 55 55 76 76 52 52
> 67 67 ...
>
> str(minmax)
> int [1:162] 6163779 7262127 6163779 7422941 6163779 6644861 6163779
> 6644861 6163779 7262127 ...
That is, my factor is the species listed two times each
Acer_platanoides_Bl Acer_platanoides_Bl Sorbus_aucuparia_Bl
Sorbus_aucuparia_Bl..... more species
and minmax lists min_sp1 max_sp1 min_sp2 min_sp2......
Here an image of my plot (with more elements included, but you can see
the black squares in the centers of each box...)
http://img51.imageshack.us/img51/9011/plott.jpg
Jonas
2010-10-20 17:14, David Winsemius skrev:
> On Oct 20, 2010, at 10:45 AM, fugelpitch wrote:
>
>> I have a factor which is species and the variables are a few sites
>> where this
>> species live.
>>
>> When I plot:
>>
>> plot(species.factor, minlatitudemaxlatitude)
>>
>> the plot produced is automatically a boxplot which shows the range of
>> the
>> species (which is what I want).
>
> This fact (a boxplot from the "plot" function) suggests that the
> objects you are plot()-ting are of some class for which there is a
> specific plot method. What do these commands return:
>
> str(species.factor)
> str(minlatitudemaxlatitude) # ?
>
>
>> However, in the thin box which is produced by each species, there is
>> a small
>> black square in "center position" of the box. Is it possible to
>> remove this.
>> Have tried to include bxp(par(medpch=NA)) without success.
>>
>> Thanks!
>>
>> Jonas Josefsson
>
> David Winsemius, MD
> West Hartford, CT
More information about the R-help
mailing list