What Dave said, plus here's a hint. Try this example (which uses base graphics): plot(1:5) plot(1:5, cex.lab=2) Then look at the help page for par help('par') or ?par to search for other graphics parameters (base graphics) you can use to change various things. Success will depend, as Dave indicated, on how the package author handled the plotting options in rsFit(). -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 Lab cell 925-724-7509 ?On 1/25/18, 5:56 PM, "R-help on behalf of David Winsemius" <r-help-bounces at r-project.org on behalf of dwinsemius at comcast.net> wrote: The documentation say that additional arguments will be passed. I suspect this will be a base graphics plot. You should look at the code of plot.rsfit to determine which arguments get processed. Sent from my iPhone > On Jan 25, 2018, at 10:30 AM, Moyukh Laha <laha.moyukh at gmail.com> wrote: > > Hello, > I am new to R and for some of my research work I am using 'fArma' > package to estimate the Hurst parameter of a time series. > When I am ding the following command : > rsFit(data, doplot = TRUE) > I am getting the R/S plot for that time series with default plot title, > font size. However, I want to change the axis size, font size etc of this > plot, which I am unable to do as there is no formal argument here. Can > anyone suggest something about this? How can I change the font size, axis > size etc here? > Thanks. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. ______________________________________________ R-help at 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.
> On Jan 26, 2018, at 9:51 AM, MacQueen, Don <macqueen1 at llnl.gov> wrote: > > What Dave said, plus here's a hint. Try this example (which uses base graphics): > > plot(1:5) > plot(1:5, cex.lab=2) > > Then look at the help page for par > help('par') > or > ?par > to search for other graphics parameters (base graphics) you can use to change various things. > > Success will depend, as Dave indicated, on how the package author handled the plotting options in rsFit().Actually it's an S4 method: showMethods("show", classes="fHURST", includeDefs=TRUE) Function: show (package methods) object="fHURST" function (object) { x = object doplot = TRUE cat("\nTitle:\n ", x at title, "\n", sep = "") cat("\nCall:\n ") cat(paste(deparse(x at call), sep = "\n", collapse = "\n"), "\n", sep = "") ... snipped IAnd not easily susceptible to throwing base graphics parameters at ti since it's all hard-coded. I've suggested to the OP that hacking the show method is an accessible option. -- David.> > -Don > > -- > Don MacQueen > Lawrence Livermore National Laboratory > 7000 East Ave., L-627 > Livermore, CA 94550 > 925-423-1062 > Lab cell 925-724-7509 > > > ?On 1/25/18, 5:56 PM, "R-help on behalf of David Winsemius" <r-help-bounces at r-project.org on behalf of dwinsemius at comcast.net> wrote: > > The documentation say that additional arguments will be passed. I suspect this will be a base graphics plot. You should look at the code of plot.rsfit to determine which arguments get processed. > > Sent from my iPhone > >> On Jan 25, 2018, at 10:30 AM, Moyukh Laha <laha.moyukh at gmail.com> wrote: >> >> Hello, >> I am new to R and for some of my research work I am using 'fArma' >> package to estimate the Hurst parameter of a time series. >> When I am ding the following command : >> rsFit(data, doplot = TRUE) >> I am getting the R/S plot for that time series with default plot title, >> font size. However, I want to change the axis size, font size etc of this >> plot, which I am unable to do as there is no formal argument here. Can >> anyone suggest something about this? How can I change the font size, axis >> size etc here? >> Thanks. >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help at 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. > > ______________________________________________ > R-help at 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. > >David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to Clarke's Third Law
Thank you very much. Will try this. On Fri, Jan 26, 2018 at 11:34 PM, David Winsemius <dwinsemius at comcast.net> wrote:> > > On Jan 26, 2018, at 9:51 AM, MacQueen, Don <macqueen1 at llnl.gov> wrote: > > > > What Dave said, plus here's a hint. Try this example (which uses base > graphics): > > > > plot(1:5) > > plot(1:5, cex.lab=2) > > > > Then look at the help page for par > > help('par') > > or > > ?par > > to search for other graphics parameters (base graphics) you can use to > change various things. > > > > Success will depend, as Dave indicated, on how the package author > handled the plotting options in rsFit(). > > Actually it's an S4 method: > > showMethods("show", classes="fHURST", includeDefs=TRUE) > Function: show (package methods) > object="fHURST" > function (object) > { > x = object > doplot = TRUE > cat("\nTitle:\n ", x at title, "\n", sep = "") > cat("\nCall:\n ") > cat(paste(deparse(x at call), sep = "\n", collapse = "\n"), > "\n", sep = "") > ... snipped > > IAnd not easily susceptible to throwing base graphics parameters at ti > since it's all hard-coded. I've suggested to the OP that hacking the show > method is an accessible option. > > -- > David. > > > > > -Don > > > > -- > > Don MacQueen > > Lawrence Livermore National Laboratory > > 7000 East Ave., L-627 > > Livermore, CA 94550 > > 925-423-1062 > > Lab cell 925-724-7509 > > > > > > ?On 1/25/18, 5:56 PM, "R-help on behalf of David Winsemius" < > r-help-bounces at r-project.org on behalf of dwinsemius at comcast.net> wrote: > > > > The documentation say that additional arguments will be passed. I > suspect this will be a base graphics plot. You should look at the code of > plot.rsfit to determine which arguments get processed. > > > > Sent from my iPhone > > > >> On Jan 25, 2018, at 10:30 AM, Moyukh Laha <laha.moyukh at gmail.com> > wrote: > >> > >> Hello, > >> I am new to R and for some of my research work I am using 'fArma' > >> package to estimate the Hurst parameter of a time series. > >> When I am ding the following command : > >> rsFit(data, doplot = TRUE) > >> I am getting the R/S plot for that time series with default plot title, > >> font size. However, I want to change the axis size, font size etc of > this > >> plot, which I am unable to do as there is no formal argument here. Can > >> anyone suggest something about this? How can I change the font size, > axis > >> size etc here? > >> Thanks. > >> > >> [[alternative HTML version deleted]] > >> > >> ______________________________________________ > >> R-help at 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. > > > > ______________________________________________ > > R-help at 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. > > > > > > David Winsemius > Alameda, CA, USA > > 'Any technology distinguishable from magic is insufficiently advanced.' > -Gehm's Corollary to Clarke's Third Law > > > > > >[[alternative HTML version deleted]]