Skip to content

3D surface plot

2 messages · T.Riedle, Bert Gunter

#
Dear R users,

I am trying to generate a 3D surface plot given the inflator formula in the attached file.

Now, I want to create a 3D plot showing how Delta changes with the values of Abs(B) and sigma. The other variables in the formula are constant. Delta is calculated daily therefore the subscript t which denotes the day. I have used different functions and different packages but I get either wrong results or an error in R.

Does anyone have an idea which function I should use?

Furthermore, I think I have to create a matrix using the formula above but I do not know how to do that in this connection. Can any body help me with the code for this purpose?

Thanks a lot in advance.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: buvar_countercyclical_capital_buffer_17_1419139702[1].pdf
Type: application/pdf
Size: 87302 bytes
Desc: buvar_countercyclical_capital_buffer_17_1419139702[1].pdf
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20160430/33079f29/attachment.pdf>
#
There are several packages and functions that can do this (e.g. search
on "3d surface plots" at rseek.org or internet search engine).

You are much more likely to get a helpful answer if you provide a
minimal data set (e.g. via dput() ) and code from any function(s) and
package(s) that you tried. A pdf with a formula in it is not very
r-helper friendly.

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 Sat, Apr 30, 2016 at 10:48 AM, T.Riedle <tr206 at kent.ac.uk> wrote: