Changes in code_plot

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Changes in code_plot

Lara Dutra Silva
Hello,

I am trying to change some aspects in this code.

plot(proj90PT$Acacia_EMmeanByTSS_mergedAlgo_mergedRun_mergedData, main=
"Present",  xlab ="x", ylab="y", cex.main=1.25, cex.lab=1.2, cex.axis=0.75,
family = "arial")


How can I change

- font. I try family "arial"

- size (exemple 14)

of main; xlab; etc ...


Is it possible to set the plot size?


dev. new (width =, height =)


Regards,

Silva

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: Changes in code_plot

Bert Gunter-2
You are using R's traditional graphics engine.  All of your queries are
answered by ?par (where, for example, you can set plot size) and
?plot.default (where, for example, you can change font sizes, e.g. via
cex). Reading the graphics sections in the "Introduction to R" tutorial
that ships with R would also probably be useful for you. This list is for
R- **Help** -- it cannot replace the many good basic R tutorials that are
available and with which we generally expect posters to have spent some
time before seeking help here.

Also, please do read the posting guide (linked at the bottom fo the email)
for suggestions on how to post requests for help that elicit prompt and
helpful responses if you need to post in the future. Especially the part
about "small reproducible examples" (which probably wasn't needed here,
though).

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Thu, Oct 26, 2017 at 10:50 AM, Lara Dutra Silva <[hidden email]
> wrote:

> Hello,
>
> I am trying to change some aspects in this code.
>
> plot(proj90PT$Acacia_EMmeanByTSS_mergedAlgo_mergedRun_mergedData, main=
> "Present",  xlab ="x", ylab="y", cex.main=1.25, cex.lab=1.2, cex.axis=0.75,
> family = "arial")
>
>
> How can I change
>
> - font. I try family "arial"
>
> - size (exemple 14)
>
> of main; xlab; etc ...
>
>
> Is it possible to set the plot size?
>
>
> dev. new (width =, height =)
>
>
> Regards,
>
> Silva
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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.
>

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.