Re: [R] hatching posibility in Panel.Polygon

2010-07-28 Thread baptiste auguie
Hi,

library(gridExtra)
example(patternGrob)

provides some patterns to fill a rectangular area using Grid graphics.
It could in theory be used in lattice. I wouldn't use it either, but I
can imagine how it might be useful on very special occasions.


Best,

baptiste




On 28 July 2010 06:11, HC hca...@yahoo.co.in wrote:

 Thank you for your follow up on this matter.

 I did think about the partial transparent color option and will certainly
 use it and see how it works out. For presentations and color prints, the
 partial transparency is surely going to work and may even look nicer. But
 for black and white printing for journal articles or making zerox copies,
 hatching seems more effective. And that was the reason of my exploring it.

 There may be some valid reason to be disappointed if such option is made
 available. However, such an option will only add more power to the trellis
 graphics that already very useful, attractive and efficient.

 Regards.
 HC



 --
 View this message in context: 
 http://r.789695.n4.nabble.com/hatching-posibility-in-Panel-Polygon-tp2301863p2304414.html
 Sent from the R help mailing list archive at Nabble.com.

 __
 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.


__
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.


Re: [R] hatching posibility in Panel.Polygon

2010-07-28 Thread Greg Snow
Tufte discusses hash lines in his book The Visual Display of Quantitative 
Information and does a better job of it than I can.  The short version is that 
the hashing can actually produce optical illusion effects that distort the 
information.  (and often don't copy well either).

Printing and copying are good things to think about in generating graphs, but I 
think that using shades of gray, or no fill with labels, or other options are 
still much preferable to hashing.  Consider making multiple simple graphs 
rather than one all inclusive complicated graph.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
 project.org] On Behalf Of HC
 Sent: Tuesday, July 27, 2010 10:11 PM
 To: r-help@r-project.org
 Subject: Re: [R] hatching posibility in Panel.Polygon
 
 
 Thank you for your follow up on this matter.
 
 I did think about the partial transparent color option and will
 certainly
 use it and see how it works out. For presentations and color prints,
 the
 partial transparency is surely going to work and may even look nicer.
 But
 for black and white printing for journal articles or making zerox
 copies,
 hatching seems more effective. And that was the reason of my exploring
 it.
 
 There may be some valid reason to be disappointed if such option is
 made
 available. However, such an option will only add more power to the
 trellis
 graphics that already very useful, attractive and efficient.
 
 Regards.
 HC
 
 
 
 --
 View this message in context: http://r.789695.n4.nabble.com/hatching-
 posibility-in-Panel-Polygon-tp2301863p2304414.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 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.

__
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.


Re: [R] hatching posibility in Panel.Polygon

2010-07-27 Thread Greg Snow
Hopefully the right now will be a forever.  The fact that trellis graphics do 
not support hatching is a conscious decision or feature, not a bug or missing 
feature to be corrected some day (at least I for one will be disappointed if 
Deepayan (or someone else) gives in and implements it).

Have you tried using a partially transparent color for the fill so that the 
below section shows through?  I would prefer that to hatching patterns.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


 -Original Message-
 From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
 project.org] On Behalf Of HC
 Sent: Monday, July 26, 2010 9:06 AM
 To: r-help@r-project.org
 Subject: Re: [R] hatching posibility in Panel.Polygon
 
 
 Thank you very much for your quick help.
 
 In fact, I was trying to show confidence intervals from two different
 methods (for various groups in panels) that had some overlaps and some
 exclusive areas. And using fill hides the area of the one underneath.
 Hatching may have been very good for this and that is why I was trying
 to
 figure out a way for doing it.
 
 Since the option is not there right now, I will use lines' to show the
 comparison and be content with that for the time being!
 
 Once again, thank you very much for your help.
 HC
 --
 View this message in context: http://r.789695.n4.nabble.com/hatching-
 posibility-in-Panel-Polygon-tp2301863p2302461.html
 Sent from the R help mailing list archive at Nabble.com.
 
 __
 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.

__
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.


Re: [R] hatching posibility in Panel.Polygon

2010-07-27 Thread HC

Thank you for your follow up on this matter.

I did think about the partial transparent color option and will certainly
use it and see how it works out. For presentations and color prints, the
partial transparency is surely going to work and may even look nicer. But
for black and white printing for journal articles or making zerox copies,
hatching seems more effective. And that was the reason of my exploring it. 

There may be some valid reason to be disappointed if such option is made
available. However, such an option will only add more power to the trellis
graphics that already very useful, attractive and efficient.

Regards.
HC



-- 
View this message in context: 
http://r.789695.n4.nabble.com/hatching-posibility-in-Panel-Polygon-tp2301863p2304414.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] hatching posibility in Panel.Polygon

2010-07-26 Thread HC

Thank you very much for your quick help.

In fact, I was trying to show confidence intervals from two different
methods (for various groups in panels) that had some overlaps and some
exclusive areas. And using fill hides the area of the one underneath.
Hatching may have been very good for this and that is why I was trying to
figure out a way for doing it.

Since the option is not there right now, I will use lines' to show the
comparison and be content with that for the time being!

Once again, thank you very much for your help.
HC
-- 
View this message in context: 
http://r.789695.n4.nabble.com/hatching-posibility-in-Panel-Polygon-tp2301863p2302461.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


[R] hatching posibility in Panel.Polygon

2010-07-25 Thread HC

Hatching with lines can be done in polygon function using density and angle
arguments.

Is similar possibility of hatching polygons available when using
panel.polygon while trying to plot in panels using lattice?

Many thanks in advance for your help.
HC
-- 
View this message in context: 
http://r.789695.n4.nabble.com/hatching-posibility-in-Panel-Polygon-tp2301863p2301863.html
Sent from the R help mailing list archive at Nabble.com.

__
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.


Re: [R] hatching posibility in Panel.Polygon

2010-07-25 Thread Deepayan Sarkar
On Sun, Jul 25, 2010 at 7:40 PM, HC hca...@yahoo.co.in wrote:

 Hatching with lines can be done in polygon function using density and angle
 arguments.

 Is similar possibility of hatching polygons available when using
 panel.polygon while trying to plot in panels using lattice?

No.

-Deepayan

__
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.