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 8937055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:20:43+00:00 2026-06-15T10:20:43+00:00

I am doing a dimensional reduction experiment, where a set of faces will be

  • 0

I am doing a dimensional reduction experiment, where a set of faces will be places onto a X-Y plane. I want to show the real face at each point in the plot (Example: Figure 10 at the page 476). Can I do this in R? Thank you.

enter image description here

  • 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-15T10:20:44+00:00Added an answer on June 15, 2026 at 10:20 am

    You will probably need some add-on packages like png and raster to achieve this.
    So first up, make sure you have the packages loaded.

    library(png)
    library(raster)
    

    Now, get an image (an awesome squiggle I made in ms paint – saved as spotimg.png):

    enter image description here

    Load the image into R and plot it:

    pngimg <- readPNG("spotimg.png")
    plot(NA,xlim=c(0,10),ylim=c(0,10))
    rasterImage(pngimg,4.5,4.5,5,5)
    

    The last 4 inputs to the rasterImage call give the coordinates of the image’s boundary in the format xleft, ybottom, xright, ytop

    And bingo, there’s your image plotted where you specified.

    enter image description here

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

Sidebar

Related Questions

I have a set of 3 dimensional points. I want a quick query of
I am just doing an experiment to put values in double dimensional array to
I have a 2-dimensional array of objects and I basically want to databind each
Doing the below will reproduce my problem: New WPF Project Add ListView Name the
Doing some jquery animation. I have certain divs set up with an attribute of
I have X , a three-dimensional array in R. I want to take a
I have the following String: (X,Y,Z),(A,B,C),(R,S,T) I want to split this into a multi-dimensional
I have a two dimensional array with coordinates and i want to make the
So, I need to fill a bi-dimensional array in JavaScript and I'm doing it
I'm doing some GPGPU programming with OpenGL. I want to be able to write

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.