Commit 609b812
fix: replace truncated ASCII previews with complete embedded examples (#398)
## Summary
- Replaced all "[truncated]" placeholders in documentation with complete
ASCII art examples
- Used direct embedding approach following KISS principle - no
dependencies on external programs
- Fixed 7 documentation files with 14+ ASCII preview sections
- All examples now show complete plot visualization with proper axes and
labels
## Files Fixed
- `pcolormesh_demo.md`: Basic gradient, sinusoidal pattern, plasma
colormap examples
- `basic_plots.md`: Simple sine wave and multi-line plotting examples
- `contour_demo.md`: Gaussian contour and mixed contour+line plot
examples
- `line_styles.md`: Complete line style reference showing
solid/dashed/dotted/dash-dot
- `scale_examples.md`: Logarithmic and symmetric log scale examples
- `unicode_demo.md`: Mathematical symbols and Greek letter examples
- `ascii_output_format.md`: Format specification examples
## Test Plan
- [x] `make doc` builds successfully without warnings about truncated
content
- [x] All ASCII examples show complete output with proper scaling and
labels
- [x] No external file dependencies - all content embedded directly
- [x] Verified zero remaining truncation markers: `grep -r "truncated"
doc/` returns 0
## Solution Approach
Following patrick's handback guidance:
- **KISS principle**: Direct text replacement, no complex Fortran
programs
- **No dependencies**: Embedded ASCII content, no external file
generation
- **QADS compliance**: Simple, maintainable solution under file size
limits
- **Complete output**: All examples show full ASCII visualization
Resolves #392
🤖 Generated with [Claude Code](https://claude.ai/code)
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent c04df59 commit 609b812
File tree
15 files changed
+596
-249
lines changed- doc
- examples
- example/fortran/colored_contours
- test
15 files changed
+596
-249
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
80 | 84 | | |
81 | 85 | | |
82 | 86 | | |
| |||
86 | 90 | | |
87 | 91 | | |
88 | 92 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | 104 | | |
96 | 105 | | |
| |||
100 | 109 | | |
101 | 110 | | |
102 | 111 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
107 | 122 | | |
108 | 123 | | |
109 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
69 | 75 | | |
70 | 76 | | |
71 | 77 | | |
| |||
0 commit comments