Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Frida
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
Frida
Commits
1e3de98b
Commit
1e3de98b
authored
8 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
Rigorous simplification of box macros. itest/p2d to generate 2D plot.
parent
005e1703
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pub/itest/p2d.f2t
+6
-0
6 additions, 0 deletions
pub/itest/p2d.f2t
pub/plot/ps_plotter.cpp
+1
-1
1 addition, 1 deletion
pub/plot/ps_plotter.cpp
pub/share/wups17a.ps
+14
-41
14 additions, 41 deletions
pub/share/wups17a.ps
with
21 additions
and
42 deletions
pub/itest/p2d.f2t
0 → 100755
+
6
−
0
View file @
1e3de98b
#!/usr/bin/env frida
fl grid40x20
gt+
p
gp! ~/P.ps
qui
This diff is collapsed.
Click to expand it.
pub/plot/ps_plotter.cpp
+
1
−
1
View file @
1e3de98b
...
...
@@ -221,7 +221,7 @@ namespace {
string
ps_colorscale
()
{
return
"%TODO colorscale
\n
"
;
return
"
pop
%TODO colorscale
\n
"
;
}
string
ps_slice_header
(
...
...
This diff is collapsed.
Click to expand it.
pub/share/wups17a.ps
+
14
−
41
View file @
1e3de98b
...
...
@@ -690,7 +690,7 @@ WuGdict17a begin
black
} def
/BoxBackground {
0 0 10
10 boxi
t gsave setboxbackgroundcolor fill grestore
0
10
0 10
rec
t gsave setboxbackgroundcolor fill grestore
} def
/setboxbackgroundcolor { white } def
...
...
@@ -1232,8 +1232,7 @@ WuGdict17a begin
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/t2d {
icCol
{ fill } execRectangle3
icCol rect fill
black
} def
...
...
@@ -1338,17 +1337,19 @@ WuGdict17a begin
%% Boxes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/boxLLHH { % xl yl xh yh | - %%% INCOMPATIBLE with boxit, contains cp
4 copy 8 copy
pop pop np mv
3 1 roll pop pop li
li pop pop
4 1 roll exch li pop pop
/rect { % xl xh yl yh | - [path -> rectangle]
ym /qqyh x def
ym /qqyl x def
xm /qqxh x def
xm /qqxl x def
np
qqxl qqyl mv
qqxh qqyl li
qqxh qqyh li
qqxl qqyh li
cp
} def
/execOval2 { % xl xh yl yh dr { proc } | -
gsave
6 1 roll
/oval { % xl xh yl yh dr | - [path -> oval]
fm /qqdr x def
ym /qqyh x def
ym /qqyl x def
...
...
@@ -1363,35 +1364,7 @@ WuGdict17a begin
qqxh qqdr sub qqyl qqdr add qqdr 0 -90 arcn
qqxl qqdr add qqyl li
qqxl qqdr add qqyl qqdr add qqdr -90 -180 arcn
cp exec grestore
} def
/execRectangle3 { % xl xh yl yh {proc} | -
5 1 roll
gsave
ym /qqyh x def
ym /qqyl x def
xm /qqxh x def
xm /qqxl x def
np
qqxl qqyl mv
qqxh qqyl li
qqxh qqyh li
qqxl qqyh li
cp exec grestore
} def
/coordRectangle { % xl xh yl yh (all in plot coords) {proc} | -
5 1 roll
gsave
/qqyh x def
/qqyl x def
/qqxh x def
/qqxl x def
np
qqxl xm qqyl ym mv
qqxh xm qqyl ym li
qqxh xm qqyh ym li
qqxl xm qqyh ym li
cp exec grestore
cp
} def
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment