# Screen("DrawDots") doesn't work/ScreenDrawDots() does

**URL:** <https://psychtoolbox.discourse.group/t/screen-drawdots-doesnt-work-screendrawdots-does/4119>\
**Category:** Programming Help\
**Tags:** windows\
**Created:** [November 16, 2021, 4:07pm UTC](https://psychtoolbox.discourse.group/t/screen-drawdots-doesnt-work-screendrawdots-does/4119 "2021-11-16T16:07:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikemugno518](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@mikemugno518](https://psychtoolbox.discourse.group/u/mikemugno518)\
**Post date:** [November 16, 2021, 4:07pm UTC](https://psychtoolbox.discourse.group/t/screen-drawdots-doesnt-work-screendrawdots-does/4119/1 "2021-11-16T16:07:56Z")

</div>

I’m a new grad student and new to PTB, I’m using the latest versions of matlab/PTB and windows 10.  
For some odd reason Screen('Draw") functions won’t work for me, but some Screen(“Fill/Frame”) ones do.  
I’ve had success with the workaround ScreenDrawDots(), but Screen(“DrawDots”) just doesn’t draw dots. Screen(“DrawTextures”) also will not work, but idk if there’s a workaround for that one. That too does not draw the images I want to use, but everything else works just fine.  
I should note, I _was_ using Windows 7 and upgraded to Windows 10 figuring that would solve the problem, but alas it did not.  
My fear is that its my computer’s graphics, I’m using a 2016 Dell Optiplex 5040 if that helps. I know jack about graphics cards so that probably isn’t helpful.

---

<div class="post-metadata">

**Author:** ![dcnieho](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dcnieho](https://psychtoolbox.discourse.group/u/dcnieho)\
**Post date:** [November 16, 2021, 4:27pm UTC](https://psychtoolbox.discourse.group/t/screen-drawdots-doesnt-work-screendrawdots-does/4119/2 "2021-11-16T16:27:15Z")

</div>

are you having problems with our demos? If so, which ones?

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [November 17, 2021, 6:46am UTC](https://psychtoolbox.discourse.group/t/screen-drawdots-doesnt-work-screendrawdots-does/4119/3 "2021-11-17T06:46:36Z")

</div>

That machine has Intel graphics, almost always a bad choice under Windows for visual stimulation. Do yourself a favor and upgrade to Ubuntu 20.04-LTS Linux.

-mario

---

<div class="post-metadata">

**Author:** ![mikemugno518](https://avatars.discourse-cdn.com/v4/letter/m/858c86/32.png) [@mikemugno518](https://psychtoolbox.discourse.group/u/mikemugno518)\
**Post date:** [November 17, 2021, 4:34pm UTC](https://psychtoolbox.discourse.group/t/screen-drawdots-doesnt-work-screendrawdots-does/4119/4 "2021-11-17T16:34:49Z")

</div>

I figured it out-- the demos were working fine, it was all me. I was using double quotations not single, so Screen(“Draw”) vs Screen(‘Draw’). Just me being a noob!

---

<div class="post-metadata">

**Author:** ![dcnieho](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dcnieho](https://psychtoolbox.discourse.group/u/dcnieho)\
**Post date:** [November 17, 2021, 5:36pm UTC](https://psychtoolbox.discourse.group/t/screen-drawdots-doesnt-work-screendrawdots-does/4119/5 "2021-11-17T17:36:10Z")

</div>

Glad you got it to work. These new features of matlab (until they introduced the string datatype, double quotes were illegal) don’t make things easier. I have been bitten by that as well…
