# Options AspectRatio and ImageSize within DateListPlot or DateListLogPlot

**URL:** <https://community.wolfram.com/t/options-aspectratio-and-imagesize-within-datelistplot-or-datelistlogplot/16531>\
**Category:** Questions\
**Tags:** graphics-and-visualization\
**Created:** [August 5, 2020, 8:38am UTC](https://community.wolfram.com/t/options-aspectratio-and-imagesize-within-datelistplot-or-datelistlogplot/16531 "2020-08-05T08:38:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peteranliker](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@peteranliker](https://community.wolfram.com/u/peteranliker)\
**Post date:** [August 5, 2020, 8:38am UTC](https://community.wolfram.com/t/options-aspectratio-and-imagesize-within-datelistplot-or-datelistlogplot/16531/1 "2020-08-05T08:38:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![nikolayshilov1997](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/nikolayshilov1997/32/7843_2.png) [@nikolayshilov1997](https://community.wolfram.com/u/nikolayshilov1997)\
**Post date:** [August 5, 2020, 1:45pm UTC](https://community.wolfram.com/t/options-aspectratio-and-imagesize-within-datelistplot-or-datelistlogplot/16531/2 "2020-08-05T13:45:37Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![peteranliker](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@peteranliker](https://community.wolfram.com/u/peteranliker)\
**Post date:** [August 6, 2020, 4:31pm UTC](https://community.wolfram.com/t/options-aspectratio-and-imagesize-within-datelistplot-or-datelistlogplot/16531/3 "2020-08-06T16:31:19Z")

</div>

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

Best regards, Peter

---

<div class="post-metadata">

**Author:** ![ziele18](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/ziele18/32/26118_2.png) [@ziele18](https://community.wolfram.com/u/ziele18)\
**Post date:** [October 14, 2020, 7:48am UTC](https://community.wolfram.com/t/options-aspectratio-and-imagesize-within-datelistplot-or-datelistlogplot/16531/4 "2020-10-14T07:48:15Z")

</div>

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

> AspectRatio → Automatic

if You intent to modify the ImageSize or AspectRatio freely.
