DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Rotating 2D depictions of XYZ surface plots

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
John Horrigan



Joined: 07 Apr 2008
Posts: 16

PostPosted: Wed Apr 09, 2008 12:11 pm    Post subject: Rotating 2D depictions of XYZ surface plots Reply with quote

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
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Apr 09, 2008 1:25 pm    Post subject: Reply with quote

Does Edit>Swap X,Y not do what you want?
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
John Horrigan



Joined: 07 Apr 2008
Posts: 16

PostPosted: Wed Apr 09, 2008 2:33 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Apr 09, 2008 3:16 pm    Post subject: Reply with quote

Quote:
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.

Quote:
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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
John Horrigan



Joined: 07 Apr 2008
Posts: 16

PostPosted: Wed Apr 09, 2008 3:42 pm    Post subject: Reply with quote

Sure thing. Do you prefer grf files via email?
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Apr 09, 2008 3:49 pm    Post subject: Reply with quote

That will be fine, along with an explanation of what you want the plot to look like.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group