Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Can I use a JPEG as background to Matlab plot ?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Claus  
View profile  
 More options Nov 11 2008, 4:21 am
Newsgroups: comp.soft-sys.matlab
From: "Claus " <il_consigli...@excite.com>
Date: Tue, 11 Nov 2008 09:21:02 +0000 (UTC)
Local: Tues, Nov 11 2008 4:21 am
Subject: Can I use a JPEG as background to Matlab plot ?
Dear experts,

can you tell me if I can use an image as background to a Matlab plot? How?

Thanks,

Claus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rune Allnor  
View profile  
 More options Nov 11 2008, 5:03 am
Newsgroups: comp.soft-sys.matlab
From: Rune Allnor <all...@tele.ntnu.no>
Date: Tue, 11 Nov 2008 02:03:33 -0800 (PST)
Local: Tues, Nov 11 2008 5:03 am
Subject: Re: Can I use a JPEG as background to Matlab plot ?
On 11 Nov, 10:21, "Claus " <il_consigli...@excite.com> wrote:

> can you tell me if I can use an image as background to a Matlab plot? How?

It *can* be done, but it can be very cumbersome, depending
on what you want to do. To demonstrate:

load clown    % Stand-in for your JPEG
imagesc(X)    % Stand-in for your JPEG
colormap(map) % Specific for the clown example

hold on;      % Prepare to plot on top of the image
plot([100 200],[50,150],'g','linewidth',3)  % plot a line

Now, try and see what happens if you want to change the
AXIS settings:

axis([1 500 1 1000])

Both the image and the line is still there, but the image
is distorted. It is up to you to implement all the stuff
that is necessary to handle the image, preserve the scales
and so on.

Rune


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Steven Lord  
View profile  
 More options Nov 11 2008, 8:55 am
Newsgroups: comp.soft-sys.matlab
From: "Steven Lord" <sl...@mathworks.com>
Date: Tue, 11 Nov 2008 08:55:19 -0500
Local: Tues, Nov 11 2008 8:55 am
Subject: Re: Can I use a JPEG as background to Matlab plot ?

"Claus " <il_consigli...@excite.com> wrote in message

news:gfbipu$c3e$1@fred.mathworks.com...

> Dear experts,

> can you tell me if I can use an image as background to a Matlab plot? How?

It depends on what exactly you mean by "background to a MATLAB plot" -- if
you don't need the image on the same axes as the plot, read through this
document on the support website:

http://www.mathworks.com/support/solutions/data/1-19J7T.html

If you do need it on the same axes as the plot, see Rune's message.

--
Steve Lord
sl...@mathworks.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »