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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:43:39+00:00 2026-06-13T14:43:39+00:00

I am trying to visualize 3-tuple points that are NOT in a grid, and

  • 0

I am trying to visualize 3-tuple points that are NOT in a grid, and x and y are NOT equally spaced. Thus I can not make a matrix as mostly required, nor can I meet the requirements of the lattice contourplot, which accepts vectors, but they have to be in a pretty restrictive form. (x,y must form a grid and be equally spaced…)

I don’t care, whether the result is a 3d surface or a 2D contourplot. But in some way I’ld like to visualize a (probably interpolated) surface of my 3-tuples.

Data will look like this:

    myX myY myZ
1   458 4   0.54
2   101 5   0.46
3   390 0   0.45
4   186 2   0.84
5   241 3   0.50
6   495 2   0.67

I have tried several plotting functions from graphics, rgl and lattice packages.
I understand that the connecting of x,y pairs at arbitrary positions is everything but trivial – but is there any plotting function in any package, which can handle this? Or can I fill (interpolate) my data beforehand easily in order to have a full matrix? (I have fitted models visualized, but I want to see the raw data…)

Any help or hint is appreciated!

Cheers,
Niko

  • 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-13T14:43:40+00:00Added an answer on June 13, 2026 at 2:43 pm

    I bit hard to understand the question, but I will try to show how one interpolates to a full matrix. I usually use the interp function from the akima package:

    set.seed(1)
    x <- runif(20)
    y <- runif(20)
    z <- x^3 + sin(y)
    
    require(akima)
    F <- interp(x,y,z)
    image(F)
    points(x,y)
    

    Here’s an example of extrapolation:

    F <- interp(x,y,z, linear=FALSE, extrap=TRUE)
    image(F)
    points(x,y)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make an iPhone/iPad application that uses VTK to visualize DICOM images
I have a very large possible data set that I am trying to visualize
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
I am trying to visualize how to create a search for an application that
I am trying to understand / visualize the elements that come with forking a
I am trying to visualize my matrix class in a more readable way than
I'm trying to visualize some data I have stored on a regular grid using
My question is simple. I'm trying to make a set of java.net.URL s that
I'm trying to visualize a data on a grid with cell values actually represented
I am trying to visualize the data contained a 3D array in MATLAB. The

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.