# \#plot

**URL:** https://racket.discourse.group/tag/plot/65.md

[Latest](https://racket.discourse.group/latest.md) · [Categories](https://racket.discourse.group/categories.md) · [Tags](https://racket.discourse.group/tags.md)

---

## [Scribble and plot/pict doesn't know about pi?](https://racket.discourse.group/t/scribble-and-plot-pict-doesnt-know-about-pi/3850)

<div class="topic-metadata">

**Author:** [@ddrake](https://racket.discourse.group/u/ddrake)\
**Replies:** 2\
**Last updated:** [July 12, 2025, 7:47pm UTC](https://racket.discourse.group/t/scribble-and-plot-pict-doesnt-know-about-pi/3850 "2025-07-12T19:47:16Z")

</div>

I'm experimenting with Scribble and wanted to see about including function plots. Something like this: #lang scribble/base @(require scribble/manual) @(require plot/pict) @title{Plots in Scribble} The sine function: …

---

## [3d dataset visualization using the plot package](https://racket.discourse.group/t/3d-dataset-visualization-using-the-plot-package/1563)

<div class="topic-metadata">

**Author:** [@alexh](https://racket.discourse.group/u/alexh)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 11:20am UTC](https://racket.discourse.group/t/3d-dataset-visualization-using-the-plot-package/1563 "2025-01-17T11:20:52Z")

</div>

I needed a way to visualize a 3D dataset and I used the racket plot package for it, and, while the dataset is not Racket related, I thought I share the end result here: The racket plot package uses paralle…

---

## [Update of library Scheme+ for Racket-R6RS with and checked by a full graphic example](https://racket.discourse.group/t/update-of-library-scheme-for-racket-r6rs-with-and-checked-by-a-full-graphic-example/3146)

<div class="topic-metadata">

**Author:** [@damien\_mattei](https://racket.discourse.group/u/damien_mattei)\
**Replies:** 0\
**Last updated:** [September 2, 2024, 9:43am UTC](https://racket.discourse.group/t/update-of-library-scheme-for-racket-r6rs-with-and-checked-by-a-full-graphic-example/3146 "2024-09-02T09:43:16Z")

</div>

Hello, As written in the title, i published an update because there was a bug preventing to use square bracket indexing that was found when coding a full graphical example that used indexing of arrays with \[ \]. Rega…

---

## [How to add a public method to 3d-plot-area%?](https://racket.discourse.group/t/how-to-add-a-public-method-to-3d-plot-area/2971)

<div class="topic-metadata">

**Author:** [@rscho](https://racket.discourse.group/u/rscho)\
**Replies:** 3\
**Last updated:** [June 20, 2024, 1:38pm UTC](https://racket.discourse.group/t/how-to-add-a-public-method-to-3d-plot-area/2971 "2024-06-20T13:38:47Z")

</div>

Hi, I am trying to build a new 3d renderer for the plot package. The renderer is a 3d matrix viewer, where each index in the matrix matches a voxel in the plot. The current implementation is inspired by the existing rect…

---

## [How to get rid of white padding around point-label's text?](https://racket.discourse.group/t/how-to-get-rid-of-white-padding-around-point-labels-text/2577)

<div class="topic-metadata">

**Author:** [@nadeemabdulhamid](https://racket.discourse.group/u/nadeemabdulhamid)\
**Replies:** 1\
**Last updated:** [December 6, 2023, 10:44pm UTC](https://racket.discourse.group/t/how-to-get-rid-of-white-padding-around-point-labels-text/2577 "2023-12-06T22:44:57Z")

</div>

How do I stop plot from putting white padding around point-labels' text? Like in this example, the text isn't really legible because there's white padding around the yellow text: (require plot) (plot3d (list (point-labe…

---

## [Adding inset and margings to plots (new feature in the plot package)](https://racket.discourse.group/t/adding-inset-and-margings-to-plots-new-feature-in-the-plot-package/2360)

<div class="topic-metadata">

**Author:** [@alexh](https://racket.discourse.group/u/alexh)\
**Replies:** 0\
**Last updated:** [October 2, 2023, 11:00pm UTC](https://racket.discourse.group/t/adding-inset-and-margings-to-plots-new-feature-in-the-plot-package/2360 "2023-10-02T23:00:05Z")

</div>

I put up a pull request to the racket plot package to allow controlling the margin left around a plot picture. The motivation for this is that, when using thicker lines for the drawing, the end caps for these lines are …

---

## [Plot library very slow with sqrt](https://racket.discourse.group/t/plot-library-very-slow-with-sqrt/2330)

<div class="topic-metadata">

**Author:** [@matteo-daddio](https://racket.discourse.group/u/matteo-daddio)\
**Replies:** 7\
**Last updated:** [September 21, 2023, 10:51pm UTC](https://racket.discourse.group/t/plot-library-very-slow-with-sqrt/2330 "2023-09-21T22:51:32Z")

</div>

Hello, I'm working with the Plot library and I have a problem. When I try to plot, for example, the square root, this function i really fast: (time (plot (function sqrt (- 0) 20))) \> cpu time: 359 real time: 358 …

---

## [Picts in plot ticks](https://racket.discourse.group/t/picts-in-plot-ticks/1863)

<div class="topic-metadata">

**Author:** [@Laurent.O](https://racket.discourse.group/u/Laurent.O)\
**Replies:** 1\
**Last updated:** [April 14, 2023, 4:22pm UTC](https://racket.discourse.group/t/picts-in-plot-ticks/1863 "2023-04-14T16:22:10Z")

</div>

Currently it is not possible to use picts in plot ticks, which means no LaTeX in particular (latex-pict works great for point-labels). Does any have a workaround? (Btw, since it's not trivial, I'm using this to place s…

---

## [Why is plot slower with unicode symbols in ticks?](https://racket.discourse.group/t/why-is-plot-slower-with-unicode-symbols-in-ticks/1611)

<div class="topic-metadata">

**Author:** [@benknoble](https://racket.discourse.group/u/benknoble)\
**Replies:** 25\
**Last updated:** [January 10, 2023, 3:44pm UTC](https://racket.discourse.group/t/why-is-plot-slower-with-unicode-symbols-in-ticks/1611 "2023-01-10T15:44:52Z")

</div>

I have some plot code for dice statistics (unfinished). It seems from some observations that using unicode characters in the y-axis ticks makes the plot nearly unresponsive. Conversely, using ASCII-only characters has no…

---

## [Scaling x vs y axes in 2d plots using plot package (aka aspect ratio ?)](https://racket.discourse.group/t/scaling-x-vs-y-axes-in-2d-plots-using-plot-package-aka-aspect-ratio/1585)

<div class="topic-metadata">

**Author:** [@tbhanson](https://racket.discourse.group/u/tbhanson)\
**Replies:** 3\
**Last updated:** [December 31, 2022, 4:16pm UTC](https://racket.discourse.group/t/scaling-x-vs-y-axes-in-2d-plots-using-plot-package-aka-aspect-ratio/1585 "2022-12-31T16:16:44Z")

</div>

hi, I'm trying out the powerful plotting functions described in 1 Introduction I have a question starting at the first example: (plot (function sin (- pi) pi #:label "y = sin(x)")) By default evidently, the plottin…

---

## [Pumpkin Plot in Racket](https://racket.discourse.group/t/pumpkin-plot-in-racket/1394)

<div class="topic-metadata">

**Author:** [@alexh](https://racket.discourse.group/u/alexh)\
**Replies:** 2\
**Last updated:** [October 25, 2022, 11:08pm UTC](https://racket.discourse.group/t/pumpkin-plot-in-racket/1394 "2022-10-25T23:08:32Z")

</div>

Inspired by the "Digital Art with Matlab" project at GitHub - zappo2/digital-art-with-matlab, I wanted to check out if the Racket 3D plot library could plot pumpkins. Here is the result: Alex.

---

## [Plotting a lambda that returns a (math/matrix) vector](https://racket.discourse.group/t/plotting-a-lambda-that-returns-a-math-matrix-vector/1365)

<div class="topic-metadata">

**Author:** [@GregVernon](https://racket.discourse.group/u/GregVernon)\
**Replies:** 3\
**Last updated:** [October 11, 2022, 4:20pm UTC](https://racket.discourse.group/t/plotting-a-lambda-that-returns-a-math-matrix-vector/1365 "2022-10-11T16:20:13Z")

</div>

I'm writing a text where I'm needing to plot polynomial bases and operations on them. The bases are often represented in a vector form, e.g., \\mathbf{N}^p(\\xi) = \[ N\_0^p(\\xi), N\_1^p(\\xi), \\dots, N\_p^p(\\xi) \]^T Where…

---

## [Questions about Plot / plot3d](https://racket.discourse.group/t/questions-about-plot-plot3d/1134)

<div class="topic-metadata">

**Author:** [@JustinZed](https://racket.discourse.group/u/JustinZed)\
**Replies:** 2\
**Last updated:** [July 9, 2022, 12:30am UTC](https://racket.discourse.group/t/questions-about-plot-plot3d/1134 "2022-07-09T00:30:49Z")

</div>

I have several questions about the Plot library, especially plot3d. When clicking and dragging a 3D plot, the altitude won't go below zero, so I can't view the plot from below. Setting the altitude to a negative numbe…

---

## [Box-and-whisker plot and updated violin plot](https://racket.discourse.group/t/box-and-whisker-plot-and-updated-violin-plot/622)

<div class="topic-metadata">

**Author:** [@alexh](https://racket.discourse.group/u/alexh)\
**Replies:** 0\
**Last updated:** [January 25, 2022, 12:59pm UTC](https://racket.discourse.group/t/box-and-whisker-plot-and-updated-violin-plot/622 "2022-01-25T12:59:52Z")

</div>

Hi Eveveryone, I added support for box-and-whisker plots to the plot package and made some updates to the violin renderers that were added recently by Cameron Moy. I put up a pull request with the changes, and if you h…

---

## [Plot cookbook project 📈](https://racket.discourse.group/t/plot-cookbook-project/572)

<div class="topic-metadata">

**Author:** [@spdegabrielle](https://racket.discourse.group/u/spdegabrielle)\
**Replies:** 21\
**Last updated:** [January 19, 2022, 10:24pm UTC](https://racket.discourse.group/t/plot-cookbook-project/572 "2022-01-19T22:24:01Z")

</div>

This is a brilliant idea! Let’s make a Plot Cookbook :chart\_with\_upwards\_trend::woman\_cook: Post your favourite plot examples here I or someone else will create a Plot Cookbook repo and add to the package catalog Add…

---

## [Plot module: how to enlarge thickness of axes?](https://racket.discourse.group/t/plot-module-how-to-enlarge-thickness-of-axes/553)

<div class="topic-metadata">

**Author:** [@JoePass](https://racket.discourse.group/u/JoePass)\
**Replies:** 6\
**Last updated:** [January 18, 2022, 10:24pm UTC](https://racket.discourse.group/t/plot-module-how-to-enlarge-thickness-of-axes/553 "2022-01-18T22:24:42Z")

</div>

Hi everybody, I'm new in the racket and my first question: how to enlarge the thickness of axes? I prepared the plot for the scientific paper but the axes are very tiny! I did not find info about this in the documentati…

---

## [Plot: how to put text out of figure?](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569)

<div class="topic-metadata">

**Author:** [@JoePass](https://racket.discourse.group/u/JoePass)\
**Replies:** 2\
**Last updated:** [January 14, 2022, 2:29am UTC](https://racket.discourse.group/t/plot-how-to-put-text-out-of-figure/569 "2022-01-14T02:29:44Z")

</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 th…

---

## [Plot: how to insert plot in plot](https://racket.discourse.group/t/plot-how-to-insert-plot-in-plot/562)

<div class="topic-metadata">

**Author:** [@JoePass](https://racket.discourse.group/u/JoePass)\
**Replies:** 11\
**Last updated:** [January 13, 2022, 10:34pm UTC](https://racket.discourse.group/t/plot-how-to-insert-plot-in-plot/562 "2022-01-13T22:34:53Z")

</div>

The question is simple - how can I put a small figure inside the field of another one? Like this: I read all info about Plot module, but I did not find a solution. But this type of figure with an insert is very comm…
