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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:00:18+00:00 2026-06-10T10:00:18+00:00

I have a fairly complex plotting problem that i thought it would be interesting

  • 0

I have a fairly complex plotting problem that i thought it would be interesting to get a solution to. Say i have two plots, number 1:

This plot was created using plotyy.

And number 2:

This plot was created using plot3(x, y, z, ‘.’)

Now, the complex part is i want to take plot number 2, watermark it and put it behind plot number 1. Which would result in something like this:

Effectively what i want to show is that plot 1 is made from data that looks like plot 2. Now i haven’t been able to find how to do this so it may not even be possible, but if it can be done then it would be a great tutorial to have on stack overflow!

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

    You can do this but it will take some work to get the axes formatted so they look nice.

    What you need to do is put one axes object on top of another axes; however, to prevent the top axes from occluding the bottom one you need to set the 'Color' property of the top axes object to 'none'.

    Here is an example script that generates something similar to what you are looking for

    f = figure;
    axes();
    x = rand(100,3)*3 + 3;
    plot3(x(:,1), x(:,2), x(:,3),'.');
    
    axes('Color', 'none');
    x = -5:5;
    y = x.^2;
    line(x,y, 'Color', 'r', 'LineWidth', 2);
    

    Here is the resulting figure:
    enter image description here

    If you don’t like how this works out you can try to project your 3D data into 2D and then draw that projection as an image behind your lines. Here is a link to a discussion about how you might go about creating the 2D projection.

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

Sidebar

Related Questions

I have a fairly complex model needing to be validated, the problem is that
I have a fairly complex query in SQL that performs a count across two
I have a fat GUI that it getting fairly complex, and I would like
I have a fairly complex view that has multiple forms, lots of validations on
I have a web application I've developed that has a fairly complex save routine.
I have a web page that I use to update a fairly complex data
I have a fairly complex business application written in ASP.NET that is deployed on
I have a fairly complex query (that includes a table valued function to allow
Do you have any suggestion for this particular problem. I have fairly complex html
I have a fairly complex user drawn control that is double buffered. Works very

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.