Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9170925
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:05:38+00:00 2026-06-17T16:05:38+00:00

How to increase resolution of gif image generated by rgl package of R (plot3d

  • 0

How to increase resolution of gif image generated by rgl package of R (plot3d and movie3d functions) – either externally or through R ?

R Code :

MyX<-rnorm(10,5,1)
MyY<-rnorm(10,5,1)
MyZ<-rnorm(10,5,1)
plot3d(MyX, MyY, MyZ, xlab="X", ylab="Y", zlab="Z", type="s", box=T, axes=F)
text3d(MyX, MyY, MyZ, text=c(1:10), cex=5, adj=1)
movie3d(spin3d(axis = c(0, 0, 1), rpm = 4), duration=15, movie="TestMovie",
                                                type="gif", dir=("~/Desktop"))

Output :

Output
Update

Adding this line at the beginning of code solved the problem

r3dDefaults$windowRect <- c(0, 100, 1400, 1400) 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:05:39+00:00Added an answer on June 17, 2026 at 4:05 pm

    I don’t think you can do much about the resolution of the gif itself. I think you have to make the image much larger as an alternative, and then when you display it smaller it looks better. This is untested as a recent upgrade broke a thing or two for me, but this did work under 2.15:

    par3d(windowRect = c(0, 0, 500, 500)) # make the window large
    par3d(zoom = 1.1) # larger values make the image smaller
    
    # you can test your settings interactively at this point
    
    M <- par3d("userMatrix") # save your settings to pass to the movie
    
    movie3d(par3dinterp(userMatrix=list(M,
        rotate3d(M, pi, 1, 0, 0), 
        rotate3d(M, pi, 0, 1, 0) ) ), 
        duration = 5, fps = 50,
        movie = "MyMovie")
    

    HTH. If it doesn’t quite work for you, check out the functions used and tune up the settings.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there any algorithms or tools that can increase the resolution of an image
We are all aware of the increase in screen resolution in the new iPhone
my current code is normal WPF with a custom image view. I need to
I'm suffered from resizing image from original resolution image, which is about 8MP, my
To increase font-size in Xcode is a pain.
I am trying to increase or decrease the displayed texts font. but can only
I want to increase the clickable area of my button (ImageView). But I don't
I would like to increase the value of the cell in the row by
I am trying to increase the speed of some UI Automation operations. I stumbled
how to increase heap size? or how to overcome the problem related to heap

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.