To display multiple date/time formats on Grapher axis labels, you can adjust your label settings for major and minor tick marks. For example, the major tick labels could use dates while the minor tick labels displayed times.
To display your axis with multiple date/formats:
- Click on the date/time axis to select it.
- In the Property Manager, click on the Labels tab.
- In the General section, check the box next to:
- Show major tick labels
- Show minor tick labels
- Use date/time format
- Click the Select button next to Major label date/time format.
- In the Date/Time Format Builder dialog:
- Delete the text in the Date/Time Format (edit to change) field.
- Select the appropriate Predefined date/time formats option and click Insert, or type a custom date/time format (i.e. MMM d) into the Date/Time format (edit to change) box.
- Click OK.
- If the date defines a range (for example, a day for which there will be hourly minor ticks), in the Property Manager on the Labels tab in the Label Settings section:
- Set Labels to edit to Major labels.
- In the Label Position section, check the box next to Between ticks.
- If desired, change the Offset in this section to something like -0.200 in so the label appears within the ticks.
- Click the Select button next to the Minor label date/time format option.
- In the Format Date/Time Builder dialog:
- Select the appropriate Predefined date/time formats option and click Insert, or type a custom date/time format (i.e. h TT) into the Date/Time format (edit to change) box.
- Click OK.
- Click on the Ticks tab in the Property Manager.
- In the Major Ticks section:
- If desired, increase the Length to a longer line (like 0.600 in), to more fully enclose the major labels.
- Check the box next to the Use date/time spacing option.
- Click the Every Year button next to Date/time spacing.
- Set the interval for the major tick marks (i.e. 1 Day).
- In the Minor Ticks section:
- Check the box next to Show ticks on bottom to show the tick marks.
- Check the box next to the Use date/time spacing option.
- Click the Every Year button next to Date/time spacing.
- Set the interval for the minor tick marks (i.e. 6 Hour).
Display major tick marks across a range, such as a date, and minor tick marks at specific intervals, such as times.
Updated May 2023
Comments
0 comments
Please sign in to leave a comment.