For Programmers: Free Programming Magazines  


Home > Archive > Matlab > June 2007 > Axis as a child of Axis ??









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Axis as a child of Axis ??
Aparna Nittala

2007-06-20, 7:20 pm

Hi,

Is it anyway possible that we have many children axed (at my desired
locations) in a parent axis.

What I am trying to do is, I want to use the function sphere, which
represents my cells - as these give a good 3D view to my structure. I
have been using the Marker, 'o' and plotting that at the desired
location, but how can I have many spheres (which need an axis) in my
plot.

Thanks for looking !
Regards,
Aparna
Walter Roberson

2007-06-20, 7:20 pm

In article <ef5b42e.-1@webcrossing.raydaftYaTP>,
Aparna Nittala <anittala@mcw.edu> wrote:

>Is it anyway possible that we have many children axed (at my desired
>locations) in a parent axis.


>What I am trying to do is, I want to use the function sphere, which
>represents my cells - as these give a good 3D view to my structure. I
>have been using the Marker, 'o' and plotting that at the desired
>location, but how can I have many spheres (which need an axis) in my
>plot.


If you use the assignment form of sphere(), you will get out the
coordinates of a unit sphere with the given number of sides.
Those coordinates can then be scaled and translated to whereever you
need them.

In theory, anyhow. I can't seem to use surf() without it complaining
about getappdata .
--
Programming is what happens while you're busy making other plans.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com