# How to add words after a disk?

**URL:** <https://community.wolfram.com/t/how-to-add-words-after-a-disk/5389>\
**Category:** Questions\
**Tags:** computer-science, education, image-processing\
**Created:** [April 11, 2015, 1:25am UTC](https://community.wolfram.com/t/how-to-add-words-after-a-disk/5389 "2015-04-11T01:25:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![yingjianma1955](https://avatars.discourse-cdn.com/v4/letter/y/ecc23a/32.png) [@yingjianma1955](https://community.wolfram.com/u/yingjianma1955)\
**Post date:** [April 11, 2015, 1:25am UTC](https://community.wolfram.com/t/how-to-add-words-after-a-disk/5389/1 "2015-04-11T01:25:00Z")

</div>

Graphics[{{Orange, Disk[{0, 0}, .1]}, {Black, Disk[{2, 0}, .1]}}] will display two disks.

Is there a way to print “Orange” and “Black” next to the disks in a program? The disk color will come from code. Therefore, I cannot use a textbox to add the word.

Thank you very much.

---

<div class="post-metadata">

**Author:** ![jbaldwin](https://avatars.discourse-cdn.com/v4/letter/j/91b2a8/32.png) [@jbaldwin](https://community.wolfram.com/u/jbaldwin)\
**Post date:** [April 11, 2015, 4:39am UTC](https://community.wolfram.com/t/how-to-add-words-after-a-disk/5389/2 "2015-04-11T04:39:07Z")

</div>

Something like the following?

```
tColor1 = Orange;
tColor2 = Blue;
Graphics[{
  {Orange, Disk[{0, 0}, .1]},
  Text[Style["Orange", tColor1], {0.25, 0}],
  {Black, Disk[{2, 0}, .1]},
  Text[Style["Black", tColor2], {2.25, 0}]
  }]

```

This produces

![discs.png](https://global.discourse-cdn.com/wolfram/original/1X/1ef4bd1677018b7fafa9b90d9fa337e043dabf4c.png)

---

<div class="post-metadata">

**Author:** ![yingjianma1955](https://avatars.discourse-cdn.com/v4/letter/y/ecc23a/32.png) [@yingjianma1955](https://community.wolfram.com/u/yingjianma1955)\
**Post date:** [April 11, 2015, 5:25am UTC](https://community.wolfram.com/t/how-to-add-words-after-a-disk/5389/3 "2015-04-11T05:25:58Z")

</div>

Thank you
