Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | cosmetic changes |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | master | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
48a84e0c477c7555d3ea4a1da7053736 |
| User & Date: | jack 2025-04-06 19:18:04 |
Context
|
2025-04-06
| ||
| 19:20 | Move local function to toplevel (aesthetic change) check-in: 0c7229a01d user: jack tags: master, trunk | |
| 19:18 | cosmetic changes check-in: 48a84e0c47 user: jack tags: master, trunk | |
| 18:51 | cleanup: remove noise code check-in: 5217336ae9 user: jack tags: master, trunk | |
Changes
Changes to Code/dataset-and-aesthetics.lisp.
| ︙ | ︙ | |||
143 144 145 146 147 148 149 |
:align-x :center
:align-y :center))
(defun show-dataset (dataset stream)
(flet ((do-it (*standard-output*)
(c:formatting-table (t :x-spacing 30)
(c:with-drawing-options (t :text-face :bold)
| < | > | | | | | | < < | 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
:align-x :center
:align-y :center))
(defun show-dataset (dataset stream)
(flet ((do-it (*standard-output*)
(c:formatting-table (t :x-spacing 30)
(c:with-drawing-options (t :text-face :bold)
(c:formatting-row ()
(c:surrounding-output-with-border (t :padding 0 :ink c:+light-pink+ :filled t)
(c:formatting-cell () (format t "()"))
(c:formatting-cell (t :align-x :center) (format t "X"))
(c:formatting-cell (t :align-x :center) (format t "Y"))
(c:formatting-cell (t :align-x :center) (format t "INK"))
(c:formatting-cell ()))))
(do-points (var dataset)
(with-aes (x y ink) var
(c:formatting-row ()
(c:formatting-cell () (format t ""))
(c:formatting-cell () (format t "~a" x))
(c:formatting-cell () (format t "~a" y))
(c:formatting-cell () (format t "~a" ink))))))))
(if stream
(do-it stream)
(e:with-output-to-drawing-stream (*standard-output* nil nil)
(sleep .1)
(do-it *standard-output*)))))
;;; FIXME this should be a protocol so we may switch to proper data frames.
|
| ︙ | ︙ |
Changes to Demo/listener.lisp.
| ︙ | ︙ | |||
64 65 66 67 68 69 70 |
(with-drawing-options (*query-io* :ink +blue+)
(format *query-io* "~s" val)))
(formatting-cell (*query-io* :min-width 50)
(with-drawing-options (*query-io* :text-face :italic :ink +dark-grey+)
(format *query-io* "~a" ptp)))))))))
(defun repl ()
| > | | | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
(with-drawing-options (*query-io* :ink +blue+)
(format *query-io* "~s" val)))
(formatting-cell (*query-io* :min-width 50)
(with-drawing-options (*query-io* :text-face :italic :ink +dark-grey+)
(format *query-io* "~a" ptp)))))))))
(defun repl ()
(let ((*package* (find-package "EU.TURTLEWARE.POLYCLOT-USER")))
(loop (with-simple-restart (abort "Return to CLIM's top level.")
(rep)))))
(defun plots* ()
(values *test1* *test2* *test3* *test4* *test5* *test6*))
(find-application-frame 'a-repl :width 800 :height 600)
|