Displaying 20 results from an estimated 500 matches similar to: "Problems with svg() exporting graphics with gradients"
2025 Apr 03
1
Problems with svg() exporting graphics with gradients
The R-help listserv deletes most attachments (as security risks) and your
attachments (I assume) did not come through. Provide code for a minimal
reprex or a site from which those interested in helping can get your plots
instead if no one who already knows about this issue responds. You might
also try posting on the Posit/ggplot Help site, as someone there may be
able to help.
Cheers,
Bert
1997 Nov 21
2
R-alpha: nlm and gradients
At present the documentation for nlm refers the reader to Dennis and
Schnabel for details on the algorithms.  It also states that the
function is liable to change.
Can anyone tell me if the current version of nlm uses only function
values or if it can use gradients and Hessians when they are
available?  I would like to get an idea of how difficult it would be
to port the development versions of
2012 Aug 20
1
Colour gradients and colour fill between points
Hello,
Can somebody help me on a colour question?
I have a levelplot made with the following syntax:
library(lattice)
inp <- read.csv("hoenne1", header = TRUE)
levelplot(z~x*y, data = inp, region = TRUE, pretty = TRUE, col.regions
= terrain.colours)
The file "hoenne1" contains the data. I'll give a short example:
x,y,z
0,0,1
0,1,1
0,2,1
1,0,2
1,2,2
0,2,2
1,2,3
2,2,2
2011 Aug 31
1
Gradients in optimx
Hi Reuben,
I am puzzled to note that the gradient check in "optimx" does not work for you.  Can you send me a reproducible example so that I can figure this out?
John - I think the best solution for now is to issue a "warning" rather than an error message, when the numerical gradient is not sufficiently close to the user-specified gradient.
Best,
Ravi.
2005 Apr 23
1
start values for nls() that don't yield singular gradients?
I'm trying to fit a Gompertz sigmoid as follows:
x <- c(15, 16, 17, 18, 19)      # arbitrary example data here;
y <- c(0.1, 1.8, 2.2, 2.6, 2.9) # actual data is similar
gm <- nls(y ~ a+b*exp(-exp(-c*(x-d))), start=c(a=?, b=?, c=?, d=?))
I have been unable to properly set the starting value '?'s.  All of
my guesses yield either a "singular gradient" error if they
2007 Sep 17
4
graphs with gradients of colors
Hi All,
 
I would like to fill the area under a curve with a gradient of colors. Are there any packages or trick I could use
 
Thanks
 
Stefan
 
 
Stefan Van Dongen
Antwerp
	[[alternative HTML version deleted]]
2008 Sep 17
6
creating rainbow gradients
Hi, how can I create a rainbow gradient in R? For example, let's say I have
a plot of y = x...and I want the plot to go from red -> orange -> yellow ->
green -> blue -> etc.
Right now, I know how to do something like go from red to blue, using the
plotrix library:
library(plotrix)
redToBlue <-
2012 Apr 09
3
Gradients in bar charts XXXX
Hello, I have a graphics-related question:
I was wondering if anyone knows of a way to create a bar chart that is colored with a three-part gradient that changes at fixed y-values. Each bar needs to fade green-to-yellow at Y=.10 and from yellow-to-red at Y=.20. Is there an option in a package somewhere that offers an easy way to do this?
Attached is a chart I macgyvered together in Excel using a
2007 Jan 04
0
dashed lines and SVG files devSVG("/folderul/unde/salvez/myplot.svg", width=10, height=10) plot(1:10, 1:10) dev.off()
Dear helpers,
I have a question about the SVG device. It works fine, the SVG file is
indeed produced, only the graphic differs from the R window.
In the SVG file the dashed line is just a regular plain one. My toy example is:
library(RSvgDevice)
devSVG("myplot.svg", width=10, height=10)
plot(1:10)
abline(v=5, lty=?dashed?)
dev.off()
Is there anything more (or different) I should do?
2006 Apr 27
1
Ruby Scripts in SVG
Hi,
Is it possible to have Ruby Scripts in SVG?
If yes can anyone please give more details for the same
Thanks in Advance
NAYAK
-- 
Posted via http://www.ruby-forum.com/.
2003 Dec 17
0
Visio vsd/vdx vs. svg
Tom,
I note that you use Visio for your network diagrams. Have you considered
placing SVG source in CVS?
I believe Visio can import/export SVG now. If you''re not using the
newest version, I think the VDXtoSVG project can convert Visio 2002 VDX
files to SVG. If you''re using a version older than that, I doubt an
acceptable solution is achievable.
    VDX to SVG
   
2006 Jan 06
1
Anyone using AJAX, SVG, and Rails?
I''m interested in the idea of using AJAX and SVG to create a
simple diagram editor.  It seems like Rails might be able to
support this sort of thing, so I thought I''d ask if anyone is
doing anything in this direction.
-r
-- 
Technical editing and writing, programming, and web development:
  http://www.cfcl.com/rdm/resume.html
Contact information: rdm@cfcl.com, +1 650-873-7841
2007 Jan 04
0
dashed lines and SVG files
Sorry for duplicating the message, the previous had an unintended
subject line...
Dear helpers,
I have a question about the SVG device. It works fine, the SVG file is
indeed produced, only the graphic differs from the R window.
In the SVG file the dashed line is just a regular plain one. My toy example is:
library(RSvgDevice)
devSVG("myplot.svg", width=10, height=10)
plot(1:10)
2013 Nov 26
0
SVG export - RGB fill
Hello all,
I have to export the graph to SVG format. I was able to do that.
The problem is that I'm using this SVG file in a XML-FO processor that
doesn't support percentages for the rgb color, only absolute numbers.
Is there any way I can control it from the R code?
Thanks!
-- 
Igor.
igorjrr@gmail.com
	[[alternative HTML version deleted]]
2006 Dec 02
0
Serving static svg images in the public folder
Hi!
I am trying to use svg images and serve them from the public/images
folder.
When using the url_for method I have to use the complete file name
including the extension.  Can you explain why?  I don''t need to use the
extension for gifs/jpegs/pngs.
Using the complete filename with url_for or writing a direct url to
/public/images I can get the file, but the mime type is text/plain, so
2007 Oct 20
0
Generate SVG image
Hello all,
does anyone now how to generate SVG image from rails?
thanks
-- 
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from
2007 Nov 10
2
FireFox builds with support for OGG Theora / SVG+Video
Although this is old news actually, for those who are interested there 
are precompiled builds of FireFox 3 with support for streaming OGG 
Theora in SVG SMIL. Good news for those who just want to see it work 
without having to patch and compile from GIT.
http://www.double.co.nz/video_test/
And for those who just want to see it work without downloading anything:
2007 Aug 09
1
displaying svg chart
dear railers
I was attempting to display a  svg chart inside a tooltip  in rails
using Scruffy.
my browser is Firefox 2 and  i am using WEBRICK.
when i render inside the controller using
graph.render(:size=> [255,205], :to => ''C:\xyz.svg)
and serve iit via rhtml using the <embed> tag.
Instead of the chart inside the tooltip i get a dialog box asking me
to open it ... with
2007 Nov 05
0
vector graphics/ SVG plots via RSvgDevice
System:
Linux Ubuntu 7.10 Gibbon
kernel  2.6.22-14-generic
Emacs ver. 22.1.1
ESS ver. 5.3.0
R version 2.6.0 (2007-10-03)
------------------------------------------------
Colleagues
This is a follow-up note to my earlier post under this header, giving my
solution.
First, with some trepidation I upgraded my ubuntu distro, and this time
did a full reinstall, so I did not break my system, as I have
2008 Oct 17
1
SVG and user interaction
Is there a way to make SVG files containing links (for use in a
browser) using any of the R graphics packages or devices?
Thanks,
Sean