Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Curved axes, underlay graphics

Subject: Curved axes, underlay graphics

From: Ci Xang

Date: 3 Jul, 2008 06:41:02

Message: 1 of 4

Hi Y'All,

I wonder if we could underlay/under impose pictures/graphics
in a matlab figure.

If that could be done for straight axes, how about curved
axes? For example, I want to plot longitude and latitude
data points on a fisheye picture

(please check http://wiki.panotools.org/Fisheye_Projection ).

So basically somehow we can ask, could we have curved axes
in and underlay graphics in those plots?

Smile,

Ci


Subject: Curved axes, underlay graphics

From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)

Date: 3 Jul, 2008 16:21:03

Message: 2 of 4

In article <g4hs9u$hm0$1@fred.mathworks.com>, Ci Xang <c.xmg@gmx.com> wrote:

>I wonder if we could underlay/under impose pictures/graphics
>in a matlab figure.

Yes. Create the new image and then adjust the order of the
Children property of the axes so that the image that is to
be "underneath" occurs -earlier- in the Children list.

>If that could be done for straight axes, how about curved
>axes?

No, Matlab makes no provision for curved axes. Even polar plots
are not done with curved axes (they are done with three sets of
rectangular axes.)

>For example, I want to plot longitude and latitude
>data points on a fisheye picture

You will have to calculate the effort of the distortion upon the
view of what is under the lens and output that, and when the
user moves the lens, you will have to repaint the parts that the
lens is no longer over and calculate and paint the distorted view
of what the lens is now over. Matlab will not do these things for you.
--
  "Style is instinctive and few achieve it in a notable degree. Its
   development is not hastened by instruction. It comes or it doesn't.
   It will take care of itself." -- Walter J. Phillips

Subject: Curved axes, underlay graphics

From: Kenneth Eaton

Date: 3 Jul, 2008 16:32:02

Message: 3 of 4

"Ci Xang" <c.xmg@gmx.com> wrote in message <g4hs9u$hm0
$1@fred.mathworks.com>...
> Hi Y'All,
>
> I wonder if we could underlay/under impose
pictures/graphics
> in a matlab figure.
>
> If that could be done for straight axes, how about curved
> axes? For example, I want to plot longitude and latitude
> data points on a fisheye picture
>
> (please check
http://wiki.panotools.org/Fisheye_Projection ).
>
> So basically somehow we can ask, could we have curved axes
> in and underlay graphics in those plots?
>
> Smile,
>
> Ci
>
>

Do you have access to the mapping toolbox? I believe there
may be some interesting functions for visualization in
there.

Ken

Subject: Curved axes, underlay graphics

From: Ci Xang

Date: 6 Jul, 2008 01:52:01

Message: 4 of 4

Has anyone tried the mapping toolbox for this problem?

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
map fisheye to figure axes Ci Xang 5 Jul, 2008 21:55:06
mapping toolbox Ci Xang 5 Jul, 2008 21:55:05
mapping to curved Ci Xang 3 Jul, 2008 02:45:06
fisheye Ci Xang 3 Jul, 2008 02:45:06
plot longitude and latitude Ci Xang 3 Jul, 2008 02:45:06
underimpose graphics Ci Xang 3 Jul, 2008 02:45:06
underlay pictures Ci Xang 3 Jul, 2008 02:45:06
underimpose pictures Ci Xang 3 Jul, 2008 02:45:05
underlay graphics Ci Xang 3 Jul, 2008 02:45:05
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics