[R] large number of scrollable histograms....

akshay kulkarni @k@h@y_e4 @end|ng |rom hotm@||@com
Wed Jan 23 12:18:22 CET 2019


dear pikal,
                    Thanks a lot.....!!!!!!!!!!!!!!

very many thanks for your time and effort...
Yours sincerely,
AKSHAY M KULKARNI

________________________________
From: PIKAL Petr <petr.pikal using precheza.cz>
Sent: Wednesday, January 23, 2019 2:16 PM
To: akshay kulkarni; R help Mailing list
Subject: RE: large number of scrollable histograms....


Hi



Yes, you should get multipage pdf, each page populated by single call to plot function.



However I am not sur if your proposal with function will work.



I usually do simply



pdf("sample.pdf", 7, 5)

for (i in 1:n) {

hist(L[[i]])

}

dev.off()



Cheers

Petr



From: akshay kulkarni <akshay_e4 using hotmail.com>
Sent: Wednesday, January 23, 2019 8:01 AM
To: PIKAL Petr <petr.pikal using precheza.cz>; R help Mailing list <r-help using r-project.org>
Subject: Re: large number of scrollable histograms....



dear pikal,

                    Thanks for the suggestion....

I have checked ?pdf.  The syntax is:



> pdf("sample.pdf", 7, 5)

> hist(vector1)

> dev.off()

So, I surmise that instead of one hist function in the second line, if I include multiple histograms through a loop, it would write ALL histograms to sample.pdf (something like this):



> pdf("sample.pdf", 7, 5)

> histlist

> dev.off()

> histlist <- function(){ for( i in 1:length(L)){histlist[[i]] <- hist(L[[i]]}; return(histlist)}





Am I right? Would this pdf document(sample.pdf)  be scrollable?







very many thanks for your time....

yours sincerely,

AKSHAY M KULKARNI



________________________________

From: PIKAL Petr <petr.pikal using precheza.cz<mailto:petr.pikal using precheza.cz>>
Sent: Tuesday, January 22, 2019 7:19 PM
To: akshay kulkarni; R help Mailing list
Subject: RE: large number of scrollable histograms....



Hi

what about to create all histograms in pdf device?

see
?pdf

Cheers
Petr


> -----Original Message-----
> From: R-help <r-help-bounces using r-project.org<mailto:r-help-bounces using r-project.org>> On Behalf Of akshay kulkarni
> Sent: Tuesday, January 22, 2019 2:21 PM
> To: R help Mailing list <r-help using r-project.org<mailto:r-help using r-project.org>>
> Subject: [R] large number of scrollable histograms....
>
> dear members,
>                             I am a day trader based in INDIA. I use R for my research.
>
> I have about 200 vectors whose histograms I need to inspect. I have to
> compare them simultaneously.
>
> I know methods whereby you can plot multiple histograms on one screen.
> However, you can clearly view only 4 to 5  histograms in one screen.
>
> Is there a way to construct a long list of all the 100 histograms that can be
> scrollable (like you scroll up or down the R console) both downwards and
> upwards? Any package to that effect?
>
> I would be highly grateful, also, if you can offer any suggestions or "out of the
> box" ideas to simultaneously compare all the 100 histograms.
>
> very many thanks for your help and support..
> yours sincerely,
> AKSHAY M KULKARNI
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org<mailto:R-help using r-project.org> mailing list -- To UNSUBSCRIBE and more, see
> 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.
Osobn� �daje: Informace o zpracov�n� a ochran� osobn�ch �daj� obchodn�ch partner� PRECHEZA a.s. jsou zve�ejn�ny na: https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about processing and protection of business partner�s personal data are available on website: https://www.precheza.cz/en/personal-data-protection-principles/
D�v�rnost: Tento e-mail a jak�koliv k n�mu p�ipojen� dokumenty jsou d�v�rn� a podl�haj� tomuto pr�vn� z�vazn�mu prohl�en� o vylou�en� odpov�dnosti: https://www.precheza.cz/01-dovetek/ | This email and any documents attached to it may be confidential and are subject to the legally binding disclaimer: https://www.precheza.cz/en/01-disclaimer/

	[[alternative HTML version deleted]]



More information about the R-help mailing list