Converting seconds to Real time

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

Moderator: DPlotAdmin

Post Reply
sjroff
Posts: 7
Joined: Tue Jul 08, 2003 6:20 pm

Converting seconds to Real time

Post by sjroff »

David,
Lets say I have an xy plot with the x axis from 0 to 10800 seconds (3 hours). I would like to show my x axis as 6:00:00 AM to the extent of 9:00:00 AM. I see in the help file, that a 6 refers to 6:00 AM, a 9 refers to 9:00 AM but how do I change to those extents without Dplot thinking those are seconds?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Edit>Operate on X with X=(x/3600)+6. Now your X values range from 6 to 9.

Then Options>Number Formats and select 'Time' from the Format list.
Visualize Your Data
support@dplot.com
sjroff
Posts: 7
Joined: Tue Jul 08, 2003 6:20 pm

Post by sjroff »

I have been using that equation, and others. I just realized that I had the "Specify Extents" previously check. It all works as expected now! Thanks for the prompt reply!
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Glad you figured it out, but now that you mention it I should probably automatically apply that transform to the extents, as well.
Visualize Your Data
support@dplot.com
Post Reply