自建台站散点图G,B横纵坐标取值修改
This commit is contained in:
parent
8faa97d8f1
commit
03955c3691
|
@ -132,21 +132,21 @@ public class SelfStationUtil extends AbstractLogOrReport {
|
||||||
List<Long> hCounts = struct.h_counts;
|
List<Long> hCounts = struct.h_counts;
|
||||||
List<HistogramData> histogramDataList = new LinkedList<>();
|
List<HistogramData> histogramDataList = new LinkedList<>();
|
||||||
List<HistogramData> histogramDataDList = new LinkedList<>();
|
List<HistogramData> histogramDataDList = new LinkedList<>();
|
||||||
for (int i=0; i<bChannels; i++){
|
for (int i=0; i<gChannels; i++){
|
||||||
for (int j=0; j< gChannels; j++){
|
for (int j=0; j< bChannels; j++){
|
||||||
Long index = i * bChannels + j;
|
Long index = i * bChannels + j;
|
||||||
Long count = hCounts.get(index.intValue());
|
Long count = hCounts.get(index.intValue());
|
||||||
if (count > 0){
|
if (count > 0){
|
||||||
HistogramData his = new HistogramData();
|
HistogramData his = new HistogramData();
|
||||||
his.setB(i);
|
his.setG(i);
|
||||||
his.setG(j);
|
his.setB(j);
|
||||||
his.setC(count);
|
his.setC(count);
|
||||||
histogramDataList.add(his);
|
histogramDataList.add(his);
|
||||||
histogramDataDList.add(his);
|
histogramDataDList.add(his);
|
||||||
}else {
|
}else {
|
||||||
HistogramData his = new HistogramData();
|
HistogramData his = new HistogramData();
|
||||||
his.setB(i);
|
his.setG(i);
|
||||||
his.setG(j);
|
his.setB(j);
|
||||||
his.setC(count);
|
his.setC(count);
|
||||||
histogramDataDList.add(his);
|
histogramDataDList.add(his);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user