Choose Language Hide Translation Bar
Highlighted
mwechtal
Community Trekker

Graph Builder Duration Axis sub second increments

Is there a way to get increments of less than a second to display on the Graph Builder axis? I'm just trying to do this interactively.

 

I have the column set as a duration, i.e. numeric, continuous, hr:m:s, width 12, dec 2. This displays the duration up to the hundredth of a second in the column in the data table. On the graph, I'm not able to get increments finer than 1 second. I can put 9 ticks between second tics, but it looks funny when I'm plotting a duration of < 1 second.

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
phil_kay
Staff

Re: Graph Builder Duration Axis sub second increments

In the second script on the attached data table I modified the x-axis by changing the format to "best" and the tick/bin increment to 0.1.

 

Does that help?

 

Regards,

Phil

 

Graph Builder(
	Size( 1153, 452 ),
	Show Control Panel( 0 ),
	Title Fill Color( "Medium Light BlueCyan" ),
	Title Text Color( "Dark Blue" ),
	Level Fill Color( "Light BlueCyan" ),
	Level Frame Color( "Blue" ),
	Level Spacing Color( "Dark Blue" ),
	Spacing Borders( 1 ),
	Variables( X( :Elapsed ), Y( :Y ) ),
	Elements( Points( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Elapsed",
			ScaleBox,
			{Format( "Best", 15 ), Min( 39.462206446 ), Max( 41.587527254 ),
			Inc( 0.1 ), Minor Ticks( 0 )}
		)
	)
)

View solution in original post

5 REPLIES 5
phil_kay
Staff

Re: Graph Builder Duration Axis sub second increments

Can you share example data?
mwechtal
Community Trekker

Re: Graph Builder Duration Axis sub second increments

Here is a simulated example data table, with a script for a graph. I'd like to be able to specify sub-second tick marks. I.e. every 1/10 second.

 

Let me know if anything isn't clear.

0 Kudos
phil_kay
Staff

Re: Graph Builder Duration Axis sub second increments

In the second script on the attached data table I modified the x-axis by changing the format to "best" and the tick/bin increment to 0.1.

 

Does that help?

 

Regards,

Phil

 

Graph Builder(
	Size( 1153, 452 ),
	Show Control Panel( 0 ),
	Title Fill Color( "Medium Light BlueCyan" ),
	Title Text Color( "Dark Blue" ),
	Level Fill Color( "Light BlueCyan" ),
	Level Frame Color( "Blue" ),
	Level Spacing Color( "Dark Blue" ),
	Spacing Borders( 1 ),
	Variables( X( :Elapsed ), Y( :Y ) ),
	Elements( Points( X, Y, Legend( 5 ) ) ),
	SendToReport(
		Dispatch(
			{},
			"Elapsed",
			ScaleBox,
			{Format( "Best", 15 ), Min( 39.462206446 ), Max( 41.587527254 ),
			Inc( 0.1 ), Minor Ticks( 0 )}
		)
	)
)

View solution in original post

mwechtal
Community Trekker

Re: Graph Builder Duration Axis sub second increments

Darn it, I had it in specific time formats the whole time I was struggling with the axis. It never occured to me to go back to "Best". Yes, this helps a lot.

0 Kudos
phil_kay
Staff

Re: Graph Builder Duration Axis sub second increments

Good. Date/time data is often a challenge!
0 Kudos