|
In article <g4d3tk$ptj$1@fred.mathworks.com>, Joh Yhan <johyhan@aim.com> wrote:
>X-axis1: [-90, 180, 90]
>X-axis2: [180, -90, 90]
>X-axis1 and X-axis2 are angular values in degrees.
>Yes, X-axis1 increases from -90 to 180, and then decreases
>from there to 90. The opposite goes for X-axis2.
And to confirm, the data from 180 down to 90 is a reversed
duplicate of the data from 90 to 180? If so, then should we
also deduce that in the revised plot, that you wish to
go from 180 down through 0 to -90 and then climb back to 90
and that the data in the second occurance of -90 to 90 should
be a reversed duplicate of the the 90 to -90?
What exactly are you starting with? An x vector that
internally runs from -90 to 180 up to 270, but you then use
the Xlabel axis property to relabel the 180 to 270 to be 180 to 90 ??
Is the current data for the 180 to 90 part just a duplicate,
or is it slightly different? For example, if your x vector
incremented in (say) 7 degree increments, then in the upward sweep,
the last X would be at 176; the next would be virtual 183 which
in the reversed labelling would be 177 -- so in this situation
the upwards X values would not exactly match the X values for the
downturn, and thus we would be discarding information if we
just treated the downturn as a duplicated reverse of the upturn --
and that in turn would mean that since the coverage of
[180, -90, 90] does not exactly match the coverage of [-90, 180, 90]
(different parts overlap), that we would have to -interpolate-
the values for the overlap rather than just duplicate them.
I am having difficulty imagining *why* you would want to
have overlapping angular regions in your plot, which makes it
difficult to know whether to just give you a relatively
trivial answer or something more complex. I checked your back
postings, and you are -not- the person who recently asked
about hysteresis (which was the only physically significant
reason I could think of for wanting to duplicate ranges.)
--
"Allegories are in the realm of thoughts, what ruins are in
the realm of things." -- Walter Benjamin
|