mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
bugfix for XY1DPlot getScreenPoints function
This commit is contained in:
parent
499b195969
commit
93b1f6b89f
@ -323,7 +323,7 @@ public class XY1DPlot extends AbstractPlot2D {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (int j = 0; j < len; j++) {
|
for (int j = 0; j < len; j++) {
|
||||||
xy = this.projToScreen(xdata[j], ydata[j], area);
|
xy = this.projToScreen(ydata[j], xdata[j], area);
|
||||||
points[j] = new PointF((float) xy[0], (float) xy[1]);
|
points[j] = new PointF((float) xy[0], (float) xy[1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
<MeteoInfo File="config.xml" Type="configurefile">
|
<MeteoInfo File="config.xml" Type="configurefile">
|
||||||
<Path OpenPath="D:\Temp\nc"/>
|
<Path OpenPath="D:\Temp\grads"/>
|
||||||
<Font>
|
<Font>
|
||||||
<TextFont FontName="YaHei Consolas Hybrid" FontSize="14"/>
|
<TextFont FontName="YaHei Consolas Hybrid" FontSize="14"/>
|
||||||
<LegendFont FontName="宋体" FontSize="12"/>
|
<LegendFont FontName="宋体" FontSize="12"/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user