Rotating 2D depictions of XYZ surface plots

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
John Horrigan
Posts: 16
Joined: Mon Apr 07, 2008 9:46 am

Rotating 2D depictions of XYZ surface plots

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Does Edit>Swap X,Y not do what you want?
Visualize Your Data
support@dplot.com
John Horrigan
Posts: 16
Joined: Mon Apr 07, 2008 9:46 am

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
John Horrigan
Posts: 16
Joined: Mon Apr 07, 2008 9:46 am

Post by John Horrigan »

Sure thing. Do you prefer grf files via email?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

That will be fine, along with an explanation of what you want the plot to look like.
Visualize Your Data
support@dplot.com
Post Reply