Displaying 20 results from an estimated 20000 matches similar to: "expression of '>='"
2008 Apr 15
1
plotmath
I like to find out more about plotmath
[[alternative HTML version deleted]]
2010 Sep 09
1
scalable < > delimiters in plotmath
Dear list,
I read in ?plotmath that I can use bgroup to draw scalable delimiters
such as [ ] and ( ). The same technique fails with < > however, and I
cannot find a workaround,
grid.text(expression(bgroup("<",atop(x,y),">")))
Error in bgroup("<", atop(x, y), ">") : invalid group delimiter
Regards,
baptiste
sessionInfo()
R version
2010 Sep 09
1
scalable < > delimiters in plotmath
Dear list,
I read in ?plotmath that I can use bgroup to draw scalable delimiters
such as [ ] and ( ). The same technique fails with < > however, and I
cannot find a workaround,
grid.text(expression(bgroup("<",atop(x,y),">")))
Error in bgroup("<", atop(x, y), ">") : invalid group delimiter
Regards,
baptiste
sessionInfo()
R version
2007 Jul 16
2
substitute and expression
Hi,
I'm trying to understand whether the use of substitute() is
appropriate/documented for plotmath annotation. The following two
calls give the same results:
> plot(1:10, main = expression(alpha == 1))
> do.call(plot, list(1:10, main = expression(alpha == 1)))
But not these two:
> plot(1:10, main = substitute(alpha == a, list(a = 2)))
> do.call(plot, list(1:10, main =
2003 Feb 19
2
plotmath
There's something (probably a lot) missing in my understanding of
plotmath. The LaTeX code for what I'm trying to produce is
\log(-\log(\hat R))
My (probably hopeless) attempt at it uses nested group()s:
expression(plain(log) * group("(", -plain(log)*group("(", \hat(R), ")"),
")"))
Can anyone do it right for me, please?
Thanks,
Ted.
Dr E.A.
2002 Apr 09
3
expressions on graphs
Hello,
I am trying to get a time derivative on a plot title. I prefer to have
it in the form \dot{s_i}, but \partial s_i/\partial t would be O.K. In
the graphics demo I cannot find either a dot or a partial equivalent.
Thanks,
John.
--
==========================================
John Janmaat
Department of Economics
Acadia University, Wolfville, NS, B0P 1X0
(902)585-1461
All opinions stated
2000 Sep 12
1
Variable value in expression (plotmath)
Hello,
I have a problem with the plotmath facility and haven't found any solution
in the FAQ and Online-Help.
I am trying to incorporate the value of a variable in an expression for an
axis with plotmath.
Considering having
> gamma <- 10
I'd like to have a plot with
> plot( .... , xlab=expression(gamma==10))
but depending on the true value of the variable.
How can I
2008 Jan 29
1
Convert string for expression in plot
Hi,
Although I understand how to use expression and paste to add
superscripts and symbols to my graphs, I have a problem with adding
superscripts to an existing string.
For example, I read in the following from a separate file:
25Mg(p,g)
I want to convert that to superscripts etc. (in LaTex format):
$^{25}$Mg(p,$\gamma$)
This needs to then be put into a graph title.
Any ideas? I know that I
2020 Mar 29
6
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Hi
Thanks for your input on this I?aki and Nicolas.
I am starting testing an R fix for this problem today.
As suggested, the plan is to allow the R user to specify a font family
other than "symbol" for plotmath output (or, more generally, in R
parlance, for 'font=5' or 'fontface=5') on a Cairo-based graphics device.
Paul
On 27/03/20 11:30 pm, I?aki Ucar wrote:
2020 Mar 30
2
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Le lundi 30 mars 2020 ? 15:24 +1300, Paul Murrell a ?crit :
> Hi
>
> I have created an R branch that contains a potential fix ...
>
> https://svn.r-project.org/R/branches/R-symfam/
>
> This allows, for example, ...
>
> cairo_pdf(symbolfamily="OpenSymbol")
>
> ... to specify that the OpenSymbol family should be used as the
> "symbol" font
2007 Apr 28
3
Perpendicular symbol in plotmath?
Hey,
Does anyone know of an equivalent to the LaTeX \perp (perpendicular)
symbol for adding to R plots? Parallel is easy enough ("||"), but I
haven't been
able to find a way of adding perpendicular. The plotmath documentation
doesn't mention how to do it, so I'm inclined to think that it doesn't
exist - but surely there must be some way of achieving the desired
result,
2000 Apr 06
1
MetaPost device?
I would like to know if a MetaPost device is available or in the plans.
A search MetaPost in the documents and list archives did not turn up
anything. [I would prefer to use MetaPost when the graphics is to be
included in a document that I want in both hard-copy and in pdf
formats.]
If not, how easy/hard is it to add a new device to R? I caouln't see
anything about adding devices in the
2000 Apr 06
1
MetaPost device?
I would like to know if a MetaPost device is available or in the plans.
A search MetaPost in the documents and list archives did not turn up
anything. [I would prefer to use MetaPost when the graphics is to be
included in a document that I want in both hard-copy and in pdf
formats.]
If not, how easy/hard is it to add a new device to R? I caouln't see
anything about adding devices in the
2020 Mar 30
3
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
On Mon, 30 Mar 2020 at 04:24, Paul Murrell <paul at stat.auckland.ac.nz> wrote:
>
> Hi
>
> I have created an R branch that contains a potential fix ...
>
> https://svn.r-project.org/R/branches/R-symfam/
>
> This allows, for example, ...
>
> cairo_pdf(symbolfamily="OpenSymbol")
>
> ... to specify that the OpenSymbol family should be used as the
2020 Apr 06
4
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Hi
The R branch ...
https://svn.r-project.org/R/branches/R-symfam/
... is now set up so that it works "out of the box" on Fedora by setting
the default to be 'symbolfamily=cairoSymbolFont(family, usePUA=FALSE)'
when grSoftVersion()["pango"] is greater than "1.44".
This means that on Fedora 31 (at least on the Docker container I am
testing on)
2006 Mar 06
3
how to make plotmath expression work together with paste
Recent questions about using plotmath have renewed my interest in this question
I want to have expressions take values of variables from the
environment. I am able to use expressions, and I am able to use paste
to put text and values of variables into
plots. But the two things just won't work together.
Here is some example code that shows what I mean.
plot(NA,xlim=c(0,100),ylim=c(0,100))
2018 Aug 24
4
plotmath degree symbol
In plotmath expressions, R's degree symbol, e.g. shown by
plot(1, main = parse(text = "1*degree*C"))
has sunk to halfway the text line, instead of touching its top. In older
R versions this looked much better.
--
Edzer Pebesma
Institute for Geoinformatics
Heisenbergstrasse 2, 48151 Muenster, Germany
Phone: +49 251 8333081
1998 Nov 30
3
R functionality
Is there anything R can do that Splus can't? I know about the
differences in the language but what about statistical functionality.
Are there models you can build or graphs you can plot in R that you
can't in Splus? My impression is that in this respect R is strictly a
subset.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2020 Mar 30
2
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Le mardi 31 mars 2020 ? 10:14 +1300, Paul Murrell a ?crit :
> Hi
>
> On 30/03/20 11:12 pm, Nicolas Mailhot wrote:
> > Le lundi 30 mars 2020 ? 15:24 +1300, Paul Murrell a ?crit :
> > > Hi
> > >
> > > I have created an R branch that contains a potential fix ...
> > >
> > > https://svn.r-project.org/R/branches/R-symfam/
> > >
2020 Apr 08
4
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
Paul et al,
I will try to do this tonight or tomorrow, though it will not be built with
th system tools because I have yet to get that tto work locally (spent a
good chunk of this morning trying).
I will send a separate messaage regarding those difficulties as well so
that we can at least confirm that they are due to a malconfiguration on my
part.
Best,
~G
On Tue, Apr 7, 2020 at 7:25 PM Paul