Page 1 of 1

Rotating 2D depictions of XYZ surface plots

Posted: Wed Apr 09, 2008 12:11 pm
by John Horrigan
Good afternoon. Firstly, thanks you for your suggestion on palette saving. Works perfectly. Now on to my next hurdle.

I am importing data where X is 0 to 120, Y 0 to 160, 19.2K points. If I maintain the correct XY designations, the plot will come up rotated 90 CCW from what the source data gave me. I can force a rotation of 90 degrees by using the 3D azimuth feature, but I lose the ability to place the cross hair over a point and read the Z value correctly. In order to protect this important ability I must swap X and Y in the excel stage of the import, then further set my contour options to -Y.

Is it or would it be possible to have a 2D rotation that allows me to set only azimuth and not lose the cross hair point data display? Can this be saved in the preference file so I can apply all transformations to the imported data in one step?

Thanks
-John

Posted: Wed Apr 09, 2008 1:25 pm
by DPlotAdmin
Does Edit>Swap X,Y not do what you want?

Posted: Wed Apr 09, 2008 2:33 pm
by John Horrigan
Unfortunately not. Simply swapping x and y via Edit in Dplot results in a further rotation CCW, such that the plot is 180 deg out of phase in my case. If I swap the columns manually in excel, I get a better result, but now I no longer have a correct reference from the source to the plot.

Put another way, seeing this as a picture, where pixel color is Z, pixel (1,1) is presented in the lower left corner of the standard plot, Y rises to 160, X moves to the right out to 120. If I use Edit > Swap x,y, X now rises 120, with Y moving out to the right to 160. What was pixel (1,1) is now at (Y,X) = (160,1). It's like the Z value hasn't quite followed the swap.

I'm not sure this makes any sense, let me know if you need more info.

Cheers
-John

Posted: Wed Apr 09, 2008 3:16 pm
by DPlotAdmin
If I swap the columns manually in excel, I get a better result, ...
Better in what way? The operations are identical, unless I completely misunderstand what you're trying to do.
What was pixel (1,1) is now at (Y,X) = (160,1)
Not unless you're performing some other unrelated operation (unless, again, I completely misunderstand what you're doing). If a specific point is at X=1, Y=1 before Swap X,Y, it will still be at X=1, Y=1 afterwards.

Perhaps a picture would help.

Posted: Wed Apr 09, 2008 3:42 pm
by John Horrigan
Sure thing. Do you prefer grf files via email?

Posted: Wed Apr 09, 2008 3:49 pm
by DPlotAdmin
That will be fine, along with an explanation of what you want the plot to look like.