On 12-11-29 2:49 PM, Stephane Chantepie wrote:
yes sorry,

When we use this function

text3d(1:3, 1:3, 1:3, LETTERS[1:3], cex=1:3)

we expect the letters to have different size (increase from 1 to 3). But
when I try this code , all the  letter have the same size.


This problem (to not be able to resize character) occurs with diiferent
the text function like mtext3d and axe3d. It looks like "cex" argument
do not have any effect on function which can use it.

I hope that it is more clear

That looks like a problem with your X11 server. It works for me on X11 on MacOS, and on the Cocoa display in MacOS, and in Windows.

I don't know much about what sorts of things go wrong with X11 servers, but a guess would be you don't have the right font installed so it doesn't know how to resize it. I can't really help beyond that, e.g. to tell you how to figure out what was requested and what was delivered.

Duncan Murdoch


stephane












2012/11/29 Duncan Murdoch <murdoch.dun...@gmail.com
<mailto:murdoch.dun...@gmail.com>>

    On 29/11/2012 1:34 PM, Stephane Chantepie wrote:

        Hi Ducan and others,

        I am sorry for this such late reply but I did not see that I had
        a reply... I have not solved the problem

        text3d(1:3, 1:3, 1:3, LETTERS[1:3], cex=1:3) does not work for me


    It works for me.  Perhaps if you explained what "does not work"
    means, I could help.

    Duncan Murdoch



        Maybe it is related to my material, I am on linux debian


        Sys.info()
        sysname  "Linux"                release  "2.6.32-5-amd64" "
        packages:
           rgl_0.92.892   misc3d_0.8-3


        2012/9/25 Duncan Murdoch <murdoch.dun...@gmail.com
        <mailto:murdoch.dun...@gmail.com>
        <mailto:murdoch.duncan@gmail.__com
        <mailto:murdoch.dun...@gmail.com>>>


             On 25/09/2012 11:07 AM, Stephane Chantepie wrote:

                 Dear all,

                 I have a quiet simple problem (shared by a collegue) but no
                 solution at
                 yet. The arguments I use in bbox3d or text3d do not
        have any
                 effect on the
                 graph. I need to use 'cex' and 'zlim' but It does not work.
                 Maybe my
                 problem could appear trivial but I have spent a lot of
        time on
                 that.
                 If you have a solution, please let me know!


             You need to provide an example of what you are trying.  cex
        works
             for me:

             text3d(1:3, 1:3, 1:3, LETTERS[1:3], cex=1:3)

             zlim makes no sense for text3d.

             Duncan Murdoch





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

Reply via email to