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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:56:53+00:00 2026-06-10T16:56:53+00:00

This is an elementary question, which I hope has an easier solution that the

  • 0

This is an elementary question, which I hope has an easier solution that the one I have: I have an Nx2 data A set which is a parametric curve in the 2D plane. The set A is ordered, it is the solution of a differential equation.

How do I plot this? There is scatter, but that may leave gaps (unless I make sure to add more points into the set, but I’d rather not do that).

There is also ezplot, but that is a bit annoying in that it only accepts functions as argument, so I have to create a function that interpolates each column of my data matrix A.

There must be a quick one-line way to “connect the dots” in a 2D data set?? The funny thing is, GNUplot does this automatically!…but unfortunately doesn’t give the best looking plots, IMHO…

I found a similar question (http://stackoverflow.com/questions/7408320/plot-a-parametric-equation-in-matlab), but that is only for graphs of functions, which is not what I have

  • 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-10T16:56:54+00:00Added an answer on June 10, 2026 at 4:56 pm

    If your points are ordered correctly with respect to the parameter, then you can simply plot each point as the corresponding row in your matrix. If your matrix is data then you can simply do

     x = data(:,1)
     y = data(:,2)
     plot(x,y)
    

    You can obviously combine those 3 lines into one for compactness.

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

Sidebar

Related Questions

I'm a total beginner so I apologize if this question is elementary. I have
This is a really elementary question. Nonetheless, I haven't found a solution after studying
This is probably an elementary question. However, I have completed reading the 5th Chapter
I am new the forum so hope this question is not too elementary or
This should be a elementary question but why is better to use something like
This is a very elementary I realize, I have recently started working with asp.net
This should be a simple one: I have an observableArray object called To in
This seems like an elementary question, but after a lot of searching around I
Ok, so this may seem an elementary question. Maybe it is. But for the
Sorry if this is an elementary question but I've just started to consider whether

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.