The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Annoying 3D problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
grahamc Posted - 03/29/2000 : 8:57:00 PM
I have a 3D graph built automatically; depending on the magnitudes of the datapoints, the vertical axes are scaled and the units in the axis label updated.

The scaling is done with these two commands;
TransSurfaceG!layer1.z2.label.divideBy=1.000000E-3;
TransSurfaceG!layer1.z.label.divideBy=1.000000E-3;

where TransSurfaceG is the plot I'm using to demonstrate it; it can be downloaded by FTP from the "pub" directory on elecmigr.lancs.ac.uk.

These commands rescale the vertical, as expected. However, they also rescale the temperature axis, and I have to issue the command

TransSurfaceG!layer1.x.label.divideBy=1;

This has worked fine so far. However, the plots are now rotated programmatically to show the surface well regardless of the direction of the slope. This means that it's unknown whether the visible temperature axis is x1 or x2. Fixing both changes the visible z axis, thus breaking the scaling.

There seems to be some bizarre interaction between the x and the z axes, which so far I've bodged around. Rather than me increasing the complexity of the bodges, what's actually going on? Is this an Origin bug? If so it's been here unreported since at least v4. If not, what am I doing wrong?

On a related note, when I saved the graph out as a single page to prepare the demonstration, the top plot appears to have become corrupted; when I load the graph into a new instance of Origin, the bottom plot (layer 1) is fine, but the top plot (layer 2) which should look similar appears to be represented as a series of discrete 2D plots across the page and off to th eleft and right some indeterminate distance. This isn't any great problem to me since I never save single graphs, but is something that could do with looking into!

p.s. ignore the incorrect time arrow- I've not finished the latest round of modifications

2   L A T E S T    R E P L I E S    (Newest First)
Laurie Posted - 04/05/2000 : 8:17:00 PM
I have an explanation for why the 2nd graph becomes corrupt in your OGG file. If you open Plot Details for this graph, you will notice that the YMatrixG is now a dataset instead of a matrix. If you click the Worksheet button, a worksheet named YMatrixG will be created with a single column of data. This is the Z values, so you can recreate your matrix in the following way:

1) Open a new matrix.
2) Select Matrix:Set Dimensions and set the dimensions to 80x80. You will also need to set your X and Y coordinates.
3. Open the Script Window and run the following line of script:

matrix1=ymatrixg; //assuming your new matrix is named matrix1

4) Now open the layer dialog for layer 2 and move the YMatrixG dataset out of the layer and move matrix1 in.

This problem will be fixed in the future.

Laurie Posted - 04/03/2000 : 5:49:00 PM
I downloaded your graph to take a look, but I also reproduced both problems (setting the divideby factor for the labels of Z2 and the top graph of 2 merged 3D graphs becoming corrupt upon saving as an OGG file) with very simple examples here.

Thank you for reporting these two problems, which have been noted for our development group.

-----------------
Laurie A. Shea
Microcal Technical Support


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000