custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

btyner
Full_Name: Ben Tyner
Version: 2.2.0
OS: i686-pc-linux-gnu
Submission from: (NULL) (128.210.141.240)


My appologies if this has already been fixed, but I didn't see it in the
tracking system yet so I thought I'd report it. Demonstration:

xyplot(Petal.Length ~ Petal.Width | Species, iris,
       strip = strip.custom(style = 1,
                            var.name = expression(beta),
                            strip.names = c(T, T)
               )
       ) # correct behavior w.r.t. var.name

xyplot(Petal.Length ~ Petal.Width | Species, iris,
       strip = strip.custom(style = 3,
                            var.name = expression(beta),
                            strip.names = c(T, T)
                            )
       ) # the var.name shows up as "beta"

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

Deepayan Sarkar
T24gMy8zMC8wNiwgYnR5bmVyQHN0YXQucHVyZHVlLmVkdSA8YnR5bmVyQHN0YXQucHVyZHVlLmVk
dT4gd3JvdGU6Cj4gRnVsbF9OYW1lOiBCZW4gVHluZXIKPiBWZXJzaW9uOiAyLjIuMAo+IE9TOiBp
Njg2LXBjLWxpbnV4LWdudQo+IFN1Ym1pc3Npb24gZnJvbTogKE5VTEwpICgxMjguMjEwLjE0MS4y
NDApCj4KPgo+IE15IGFwcG9sb2dpZXMgaWYgdGhpcyBoYXMgYWxyZWFkeSBiZWVuIGZpeGVkLCBi
dXQgSSBkaWRuJ3Qgc2VlIGl0IGluIHRoZQo+IHRyYWNraW5nIHN5c3RlbSB5ZXQgc28gSSB0aG91
Z2h0IEknZCByZXBvcnQgaXQuIERlbW9uc3RyYXRpb246Cj4KPiB4eXBsb3QoUGV0YWwuTGVuZ3Ro
IH4gUGV0YWwuV2lkdGggfCBTcGVjaWVzLCBpcmlzLAo+ICAgICAgICBzdHJpcCA9IHN0cmlwLmN1
c3RvbShzdHlsZSA9IDEsCj4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhci5uYW1lID0g
ZXhwcmVzc2lvbihiZXRhKSwKPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RyaXAubmFt
ZXMgPSBjKFQsIFQpCj4gICAgICAgICAgICAgICAgKQo+ICAgICAgICApICMgY29ycmVjdCBiZWhh
dmlvciB3LnIudC4gdmFyLm5hbWUKPgo+IHh5cGxvdChQZXRhbC5MZW5ndGggfiBQZXRhbC5XaWR0
aCB8IFNwZWNpZXMsIGlyaXMsCj4gICAgICAgIHN0cmlwID0gc3RyaXAuY3VzdG9tKHN0eWxlID0g
MywKPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFyLm5hbWUgPSBleHByZXNzaW9uKGJl
dGEpLAo+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICBzdHJpcC5uYW1lcyA9IGMoVCwgVCkK
PiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKQo+ICAgICAgICApICMgdGhlIHZhci5uYW1l
IHNob3dzIHVwIGFzICJiZXRhIgoKMS4gQnVncyBpbiBwYWNrYWdlcyBzaG91bGQgYmUgcmVwb3J0
ZWQgdG8gdGhlIG1haW50YWluZXIsIG5vdCBSLWJ1Z3MuCgoyLiBUaGlzIGFscmVhZHkgd29ya3Mg
YXMgaXQgc2hvdWxkIGluIFIgMi4zLjAgYWxwaGEKCkRlZXBheWFuCg==

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

Deepayan Sarkar-2
In reply to this post by btyner

Trying again...

On Thursday 30 March 2006 15:19, [hidden email] wrote:

> Full_Name: Ben Tyner
> Version: 2.2.0
> OS: i686-pc-linux-gnu
> Submission from: (NULL) (128.210.141.240)
>
>
> My appologies if this has already been fixed, but I didn't see it in the
> tracking system yet so I thought I'd report it. Demonstration:
>
> xyplot(Petal.Length ~ Petal.Width | Species, iris,
>        strip = strip.custom(style = 1,
>                             var.name = expression(beta),
>                             strip.names = c(T, T)
>                )
>        ) # correct behavior w.r.t. var.name
>
> xyplot(Petal.Length ~ Petal.Width | Species, iris,
>        strip = strip.custom(style = 3,
>                             var.name = expression(beta),
>                             strip.names = c(T, T)
>                             )
>        ) # the var.name shows up as "beta"

1. Bugs in packages should be reported to the maintainer, not R-bugs.

2. This already works as it should in R 2.3.0 alpha

-Deepayan

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

Benjamin Tyner
Sorry, so used to it being bundled that I didn't realize lattice was a
"contributed package".

Ben

Deepayan Sarkar wrote:

>
>
>1. Bugs in packages should be reported to the maintainer, not R-bugs.
>
>2. This already works as it should in R 2.3.0 alpha
>
>-Deepayan
>  
>

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel