Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.2K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Formatting Ticks on TimeLinePlot

Posted 3 years ago
Attachments:
POSTED BY: Gregory Lypny
4 Replies

Hi Gregory,

Thanks for sharing your solution. It works perfectly!

Best Regards,...Jos

POSTED BY: Jos Klaps
Posted 3 years ago

Hi Jos,

Sorry for late reply. Have a look at this.

timelineData = <|
   "Rock Around the Clock" -> "1954-05-20",
   "All Along the Watchtower" -> "1967-12-07",
   "Sultans of Swing" -> "1978-05-19"
   |>;

TimelinePlot[timelineData,
 AspectRatio -> 1/8,
 Ticks -> {Values[timelineData], 
   Automatic},(*restrict the ticks to just the dates*)

 DateTicksFormat -> {"DayShort", " ", "MonthNameShort", " ", 
   "Year"},(*format the dates*)
 Spacings -> {1, 52, 34},
 BaseStyle -> {FontFamily -> "Futura", FontColor -> Black, 
   FontSize -> 11}, 
 LabelStyle -> {FontFamily -> "Futura", FontColor -> Black, 
   FontSize -> 11}, 
 PlotLabel -> 
  Style["RECORD RELEASE", FontFamily -> "Futura", FontSize -> 14, 
   FontColor -> Black], ImageSize -> 860]
POSTED BY: Gregory Lypny

Hi Greg,

I'm interested. can you let me know how you solved it?

Thanks in advance! ...... Jos

POSTED BY: Jos Klaps
Posted 3 years ago

Just figured it out.

POSTED BY: Gregory Lypny
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard