# Plot: how to put text out of figure?

**URL:** <https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569>\
**Category:** Questions & Answers\
**Tags:** plot\
**Created:** [January 13, 2022, 9:23pm UTC](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569 "2022-01-13T21:23:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoePass](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/joepass/32/311_2.png) [@JoePass](https://racket.discourse.group/u/JoePass)\
**Post date:** [January 13, 2022, 9:23pm UTC](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569/1 "2022-01-13T21:23:19Z")

</div>

To make info on the y-axes more readable I multiply my function for 10^3 and put info about the multiplier  
`(point-pict #(110 6.5) (tex-math "\\times 10^{-3}" #:scale 4) #:point-size 0)` . But common practice is to put this info upper, out of the figure. But point-pict can not put the info out of the plot. How can I do it?

 ![f2-1](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/bcd27bbe47d3bc8a0572768bba70ec6522a6618b.png)

---

<div class="post-metadata">

**Author:** ![soegaard](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/soegaard/32/19_2.png) [@soegaard](https://racket.discourse.group/u/soegaard)\
**Post date:** [January 13, 2022, 10:03pm UTC](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569/2 "2022-01-13T22:03:10Z")

</div>

Make a plot without the info.  
Make a pict with the info.  
Then combine the two picts with ... with ... maybe `hb-append` ?

[3&nbsp;Pict Combiners](https://docs.racket-lang.org/pict/Pict_Combiners.html)

The text ought to say that `v` is vertical and `h` is horizontal.

One of the combiners will work 🙂

 ![image](https://global.discourse-cdn.com/free1/uploads/racket/original/1X/99bdd6ac27e2e5f8c0787eaacc8ff68e842dbf2c.jpeg)

---

<div class="post-metadata">

**Author:** ![JoePass](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/joepass/32/311_2.png) [@JoePass](https://racket.discourse.group/u/JoePass)\
**Post date:** [January 14, 2022, 2:29am UTC](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569/3 "2022-01-14T02:29:44Z")

</div>

I tried to use vl-append. It works, but the label appeared at the left-up angle, over the label of `y` axes. I can not move it to the right, but only up and down. I found a solution which is more suitable for me by using` lt-superimpose` and `insert`:

```scheme
(define lab (tex-math "\\times 10^{-3}" #:scale 4)) 
(define res (lt-superimpose fig (inset lab 90 30)))
(save-pict-as-pdf res "cc.pdf")

```

The position of the text is regulated by options of `insert`.
