Re: [R] plotly

2023-07-26 Thread Kimmo Elo
Hi, ke, 2023-07-26 kello 02:04 +, Thomas Subia via R-help kirjoitti: > Question 1:How can I save the plotly graph with a specific graph > size?Using ggsave, one can define the height, width and unit of > measure, is there something similar in plotly?Since I am creating the > same gauge plot bu

Re: [R] plotly

2023-07-25 Thread Thomas Subia via R-help
th values are rounded. Can I control the precision of these two numbers? -- Response:  --- In Plotly, you can control the precision of the numbers by specifying the `valueformat` and `delta.valueformat` parameters. These parameters accept a string in the form

Re: [R] plotly

2023-07-22 Thread Thomas Subia via R-help
These parameters accept a string in the format that is used by the C `printf` function. For example, `%.2f` specifies a number with two digits after the decimal point. Here is an example: ```R plotly::plot_ly(   domain = list(x = c(0, 1), y = c(0, 1)),   value = 2874,   title = list(text = "Generic

Re: [R] plotly

2023-07-22 Thread Boris Steipe
accept a string in the format that is used by the C `printf` function. For example, `%.2f` specifies a number with two digits after the decimal point. Here is an example: ```R plotly::plot_ly( domain = list(x = c(0, 1), y = c(0, 1)), value = 2874, title = list(text = "Generic"

Re: [R] plotly

2023-07-22 Thread Boris Steipe
What do you mean "Rounded"? What do you expect, what do you get instead? ? > On Jul 22, 2023, at 10:40, Thomas Subia via R-help > wrote: > > Colleagues, > Thanks for the update. > My colleagues at work have run this script but the resulting graph output for > value is rounded. How can one

Re: [R] plotly

2023-07-22 Thread Thomas Subia via R-help
Colleagues, Thanks for the update. My colleagues at work have run this script but the resulting graph output for value is rounded. How can one turn this annoying feature off? I've googled this but to no avail. [[alternative HTML version deleted]] __

Re: [R] plotly question

2023-07-22 Thread CALUM POLWART
I was just replying to say which bit do you consider the indicator. But I see Boris has provided a Chat GPT solution. Running it hopefully shows you how to change colours on various parts. On Fri, 21 Jul 2023, 22:43 Jeff Newmiller, wrote: > plotly is _not_ associated with posit. I think you

Re: [R] plotly question

2023-07-21 Thread Boris Steipe
: ```R plotly::plot_ly( domain = list(x = c(0, 1), y = c(0, 1)), value = 2874, title = list(text = "Generic"), type = "indicator", mode = "gauge+number+delta", delta = list(reference = 4800), gauge = list( axis = list(range = list(NULL, 5000),

Re: [R] plotly question

2023-07-21 Thread Jeff Newmiller
plotly is _not_ associated with posit. I think you are unlikely to find expertise with plotly in their forums. You might find help at stackoverflow.com. On July 21, 2023 1:40:49 PM PDT, Bert Gunter wrote: >As you apparently haven't received any responses yet, I'll try to >suggest something usefu

Re: [R] plotly question

2023-07-21 Thread Bert Gunter
As you apparently haven't received any responses yet, I'll try to suggest something useful. However, I have absolutely zero experience with plotly, so this is just from general principles and reading the plot_ly Help file, which says for the "..." arguments: "Arguments (i.e., attributes) passed al

[R] plotly question

2023-07-21 Thread Thomas Subia via R-help
Colleagues Here is my reproducible code plot_ly(   domain = list(x = c(0, 1), y = c(0, 1)),   value = 2874,   title = list(text = "Generic"),   type = "indicator",   mode = "gauge+number+delta",   delta = list(reference = 4800),   gauge = list(     axis =list(range = list(NULL, 5000)),     steps

Re: [R] Plotly

2021-11-08 Thread Jeff Reichman
Bert Ok I'll give that a shot too. Jeff -Original Message- From: Bert Gunter Sent: Monday, November 8, 2021 1:16 PM To: reichm...@sbcglobal.net Cc: R-help Subject: Re: [R] Plotly As Plotly for R is a product of private company, your query is off topic here (though you may

Re: [R] Plotly

2021-11-08 Thread Jeff Newmiller
I don't know any details of Plotly, but Windows does have a directory depth limit that can be very frustrating. I think there is a registry setting that can help alleviate, but it breaks some things so it is highly dependent on how you use your computer as to whether you can take advantage of th

Re: [R] Plotly

2021-11-08 Thread Bert Gunter
As Plotly for R is a product of private company, your query is off topic here (though you may get a response if you are lucky). They have their own Help forum to which you should post instead: https://community.plotly.com/c/graphing-libraries/r/9 Bert Gunter "The trouble with having an open min

[R] Plotly

2021-11-08 Thread Jeff Reichman
R Help Forum Anyone know if there are Plotly issues ones need to be aware of. For example I quite often receive the following error "Error in dirname(to) : path too long." I find there is no one fix. Is there some sort of Windows /Plotly naming restrictions??? # create a line chart displayi

[R] plotly: ability to drag points on x axis only and prevent change of y axis value

2020-12-10 Thread Andras Farkas via R-help
Hello, wonder if you could provide input on the following: please see toy example below, wanted to see if there is a way to have restrictions on how the points are dragged on the plot. More specifically I would like the points draggable horizontally ONLY and have their y axis value remain fixed

[R] plotly example that highlights a line

2017-02-28 Thread Roy Mendelssohn - NOAA Federal
Hi All: In searching online, I have found examples of using plotly with ggplot2 graphics, say using geom_line, where there are multiple lines and by selecting the "factor" in the legend makes the particular line disappear or reappear (see https://plot.ly/ggplot2/). I am wondering if anyone

Re: [R] plotly

2014-07-22 Thread Matt Sundquist
Hey Shane, Sorry you're having trouble. The quick start is here and walks through installation: https://plot.ly/r/. A note. If you're on Windows, you'll need Rtools to install devtools: http://cran.rstudio.com/bin/windows/Rtools/. As Sarah noted, Plotly isn't on CRAN. If you're having trouble,

Re: [R] plotly

2014-07-21 Thread Sarah Goslee
Hi, On Monday, July 21, 2014, Shane Carey wrote: > Hey, > > What version of R is required to use the plotly library? > > I have R version 3.0.1 and it will not allow me to install the devtools > package or the ploty package. > > I have googled and searched to see what version of R I should be ru

[R] plotly

2014-07-21 Thread Shane Carey
Hey, What version of R is required to use the plotly library? I have R version 3.0.1 and it will not allow me to install the devtools package or the ploty package. I have googled and searched to see what version of R I should be running but could not find anything. Thanks -- Shane [[

[R] Plotly and rOpenSci: R and ggplot2 interactive, online, & collaborative plotting

2014-05-12 Thread Matt Sundquist
Hello R help, My name is Matt, and I'm a co-founder at Plotly , an online graphing and analytics project. We're building an R library as part of the rOpenSciproject. You can use it to make interactive, web-based R and ggplot2 plots. The plot

[R] Plotly Beta: Online Plotting with R

2014-01-24 Thread Matt Sundquist
Hi R Users, My name is Matt, and I'm a part of Plotly . We recently released an R plotting library for making publication-quality graphs online. We wanted to let the folks on this list know. A basic summary: - Make publication-quality, online plots with a G