Skip to content

Commit 4e70306

Browse files
author
Yann Richet
committed
ant -> maven
1 parent 8251ad8 commit 4e70306

File tree

137 files changed

+1274
-784
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+1274
-784
lines changed

README.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,22 @@ import org.math.plot.*;
3535

3636
## Use it ##
3737

38-
- put jmathplot.jar in your java classpath
39-
- create a new PlotPanel instance: PlotPanel plot = new Plot2DPanel();
40-
- add a plot inside plot.addLinePlot("my plot", x, y);
38+
Put https://github.com/yannrichet/jmathplot/blob/master/dist/jmathplot.jar in your java classpath
39+
40+
Or include maven dependency:
41+
```xml
42+
<dependencies>
43+
...
44+
<dependency>
45+
<groupId>com.github.yannrichet</groupId>
46+
<artifactId>jmathplot</artifactId>
47+
<version>1.0</version>
48+
</dependency>
49+
...
50+
</dependencies>
51+
```
52+
53+
Then
54+
- create a new PlotPanel instance: `PlotPanel plot = new Plot2DPanel();`
55+
- add a plot inside `plot.addLinePlot("my plot", x, y);`
4156
- use the PlotPanel as any Swing component (all PlotPanel extends JPanel, in fact)

dist/jmathplot.jar

218 KB
Binary file not shown.

doc/css/maven-base.css

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,151 @@
1+
body {
2+
margin: 0px;
3+
padding: 0px;
4+
}
5+
img {
6+
border:none;
7+
}
8+
table {
9+
padding:0px;
10+
width: 100%;
11+
margin-left: -2px;
12+
margin-right: -2px;
13+
}
14+
acronym {
15+
cursor: help;
16+
border-bottom: 1px dotted #feb;
17+
}
18+
table.bodyTable th, table.bodyTable td {
19+
padding: 2px 4px 2px 4px;
20+
vertical-align: top;
21+
}
22+
div.clear{
23+
clear:both;
24+
visibility: hidden;
25+
}
26+
div.clear hr{
27+
display: none;
28+
}
29+
#bannerLeft, #bannerRight {
30+
font-size: xx-large;
31+
font-weight: bold;
32+
}
33+
#bannerLeft img, #bannerRight img {
34+
margin: 0px;
35+
}
36+
.xleft, #bannerLeft img {
37+
float:left;
38+
}
39+
.xright, #bannerRight {
40+
float:right;
41+
}
42+
#banner {
43+
padding: 0px;
44+
}
45+
#banner img {
46+
border: none;
47+
}
48+
#breadcrumbs {
49+
padding: 3px 10px 3px 10px;
50+
}
51+
#leftColumn {
52+
width: 170px;
53+
float:left;
54+
overflow: auto;
55+
}
56+
#bodyColumn {
57+
margin-right: 1.5em;
58+
margin-left: 197px;
59+
}
60+
#legend {
61+
padding: 8px 0 8px 0;
62+
}
63+
#navcolumn {
64+
padding: 8px 4px 0 8px;
65+
}
66+
#navcolumn h5 {
67+
margin: 0;
68+
padding: 0;
69+
font-size: small;
70+
}
71+
#navcolumn ul {
72+
margin: 0;
73+
padding: 0;
74+
font-size: small;
75+
}
76+
#navcolumn li {
77+
list-style-type: none;
78+
background-image: none;
79+
background-repeat: no-repeat;
80+
background-position: 0 0.4em;
81+
padding-left: 16px;
82+
list-style-position: outside;
83+
line-height: 1.2em;
84+
font-size: smaller;
85+
}
86+
#navcolumn li.expanded {
87+
background-image: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/expanded.gif);
88+
}
89+
#navcolumn li.collapsed {
90+
background-image: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/collapsed.gif);
91+
}
92+
#poweredBy {
93+
text-align: center;
94+
}
95+
#navcolumn img {
96+
margin-top: 10px;
97+
margin-bottom: 3px;
98+
}
99+
#poweredBy img {
100+
display:block;
101+
margin: 20px 0 20px 17px;
102+
}
103+
#search img {
104+
margin: 0px;
105+
display: block;
106+
}
107+
#search #q, #search #btnG {
108+
border: 1px solid #999;
109+
margin-bottom:10px;
110+
}
111+
#search form {
112+
margin: 0px;
113+
}
114+
#lastPublished {
115+
font-size: x-small;
116+
}
117+
.navSection {
118+
margin-bottom: 2px;
119+
padding: 8px;
120+
}
121+
.navSectionHead {
122+
font-weight: bold;
123+
font-size: x-small;
124+
}
125+
.section {
126+
padding: 4px;
127+
}
128+
#footer {
129+
padding: 3px 10px 3px 10px;
130+
font-size: x-small;
131+
}
132+
#breadcrumbs {
133+
font-size: x-small;
134+
margin: 0pt;
135+
}
136+
.source {
137+
padding: 12px;
138+
margin: 1em 7px 1em 7px;
139+
}
140+
.source pre {
141+
margin: 0px;
142+
padding: 0px;
143+
}
144+
#navcolumn img.imageLink, .imageLink {
145+
padding-left: 0px;
146+
padding-bottom: 0px;
147+
padding-top: 0px;
148+
padding-right: 2px;
149+
border: 0px;
150+
margin: 0px;
151+
}

doc/css/maven-theme.css

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
20+
body {
21+
padding: 0px 0px 10px 0px;
22+
}
23+
body, td, select, input, li{
24+
font-family: Verdana, Helvetica, Arial, sans-serif;
25+
font-size: 13px;
26+
}
27+
code{
28+
font-family: Courier, monospace;
29+
font-size: 13px;
30+
}
31+
a {
32+
text-decoration: none;
33+
}
34+
a:link {
35+
color:#36a;
36+
}
37+
a:visited {
38+
color:#47a;
39+
}
40+
a:active, a:hover {
41+
color:#69c;
42+
}
43+
#legend li.externalLink {
44+
background: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/external.png) left top no-repeat;
45+
padding-left: 18px;
46+
}
47+
a.externalLink, a.externalLink:link, a.externalLink:visited, a.externalLink:active, a.externalLink:hover {
48+
background: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/external.png) right center no-repeat;
49+
padding-right: 18px;
50+
}
51+
#legend li.newWindow {
52+
background: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/newwindow.png) left top no-repeat;
53+
padding-left: 18px;
54+
}
55+
a.newWindow, a.newWindow:link, a.newWindow:visited, a.newWindow:active, a.newWindow:hover {
56+
background: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/newwindow.png) right center no-repeat;
57+
padding-right: 18px;
58+
}
59+
h2 {
60+
padding: 4px 4px 4px 6px;
61+
border: 1px solid #999;
62+
color: #900;
63+
background-color: #ddd;
64+
font-weight:900;
65+
font-size: x-large;
66+
}
67+
h3 {
68+
padding: 4px 4px 4px 6px;
69+
border: 1px solid #aaa;
70+
color: #900;
71+
background-color: #eee;
72+
font-weight: normal;
73+
font-size: large;
74+
}
75+
h4 {
76+
padding: 4px 4px 4px 6px;
77+
border: 1px solid #bbb;
78+
color: #900;
79+
background-color: #fff;
80+
font-weight: normal;
81+
font-size: large;
82+
}
83+
h5 {
84+
padding: 4px 4px 4px 6px;
85+
color: #900;
86+
font-size: medium;
87+
}
88+
p {
89+
line-height: 1.3em;
90+
font-size: small;
91+
}
92+
#breadcrumbs {
93+
border-top: 1px solid #aaa;
94+
border-bottom: 1px solid #aaa;
95+
background-color: #ccc;
96+
}
97+
#leftColumn {
98+
margin: 10px 0 0 5px;
99+
border: 1px solid #999;
100+
background-color: #eee;
101+
padding-bottom: 3px; /* IE-9 scrollbar-fix */
102+
}
103+
#navcolumn h5 {
104+
font-size: smaller;
105+
border-bottom: 1px solid #aaaaaa;
106+
padding-top: 2px;
107+
color: #000;
108+
}
109+
110+
table.bodyTable th {
111+
color: white;
112+
background-color: #bbb;
113+
text-align: left;
114+
font-weight: bold;
115+
}
116+
117+
table.bodyTable th, table.bodyTable td {
118+
font-size: 1em;
119+
}
120+
121+
table.bodyTable tr.a {
122+
background-color: #ddd;
123+
}
124+
125+
table.bodyTable tr.b {
126+
background-color: #eee;
127+
}
128+
129+
.source {
130+
border: 1px solid #999;
131+
}
132+
dl {
133+
padding: 4px 4px 4px 6px;
134+
border: 1px solid #aaa;
135+
background-color: #ffc;
136+
}
137+
dt {
138+
color: #900;
139+
}
140+
#organizationLogo img, #projectLogo img, #projectLogo span{
141+
margin: 8px;
142+
}
143+
#banner {
144+
border-bottom: 1px solid #fff;
145+
}
146+
.errormark, .warningmark, .donemark, .infomark {
147+
background: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/icon_error_sml.gif) no-repeat;
148+
}
149+
150+
.warningmark {
151+
background-image: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/icon_warning_sml.gif);
152+
}
153+
154+
.donemark {
155+
background-image: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/icon_success_sml.gif);
156+
}
157+
158+
.infomark {
159+
background-image: url(http://github.com/..%3Cspan%20class=pl-c1%3E/%3C/span%3Eimages/icon_info_sml.gif);
160+
}
161+

doc/css/print.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#banner, #footer, #leftcol, #breadcrumbs, .docs #toc, .docs .courtesylinks, #leftColumn, #navColumn {
2+
display: none !important;
3+
}
4+
#bodyColumn, body.docs div.docs {
5+
margin: 0 !important;
6+
border: none !important
7+
}

doc/css/site.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* You can override this file with your own styles */

0 commit comments

Comments
 (0)