Message Boards Message Boards

2
|
4000 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

Options AspectRatio and ImageSize within DateListPlot or DateListLogPlot

Posted 4 years ago

Hello Community

Why do the Options AspectRatio and ImageSize not work when defined in SetOptions[DateListPlot ... ] ? They work well when defined within DateListPlot or DateListLogPlot.

Options[DateListPlot] list them as an option.

I always get the default plot ratio and size.

With kind regards Peter

POSTED BY: Peter Anliker
3 Replies

I tried it on my laptop and got the same result: SetOptions[DateListPlot, AspectRatio -> 1] does affect the list of options returned by Options[DateListPlot] but DateListPlot-s retain their default AspectRatio-s. I believe this is a WL issue to be reported.

POSTED BY: Nikolay Shilov
Posted 4 years ago

Nikolay, thanks for the confirmation. I also think that's a bug.

Best regards, Peter

POSTED BY: Peter Anliker

Simply take a look at the documentation of DateListPlot and set the

AspectRatio -> Automatic

if You intent to modify the ImageSize or AspectRatio freely.

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

Group Abstract Group Abstract