Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/23/12 16:47:39 (12 years ago)
Author:
epitzer
Message:

#1696: tune picture generator and add additional problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FitnessLandscapeAnalysis/VRPProblemAnalyzer/PictureGenerator.cs

    r7321 r7398  
    1010  public class PictureGenerator {
    1111
    12     private static int TourWidth = 500;
     12    private static int TourWidth = 400;
    1313    private static int TourHeight = 500;
    1414    private static double MinDemandSize = 2;
     
    1717    private static int TourBorder = (int)Math.Ceiling(MaxDemandSize);
    1818
    19     private static int ChartWidth = 400;
     19    private static int ChartWidth = 300;
    2020    private static int ChartHeight = TourHeight/2;
    2121   
     
    133133      chart.ChartAreas[0].AxisX.Maximum = problemInstance.Capacity;
    134134      chart.ChartAreas[0].AxisX.Interval = problemInstance.Capacity/DemandSegments;
    135       chart.ChartAreas[0].AxisX.LabelStyle.Interval = problemInstance.Capacity/DemandSegments*2;
     135      chart.ChartAreas[0].AxisX.LabelStyle.Interval = problemInstance.Capacity/DemandSegments*4;
    136136      chart.ChartAreas[0].AxisY.Title = "Customers";
    137137      chart.ChartAreas[0].AxisY.Minimum = 0;
     
    206206      chart.ChartAreas[0].AxisX.Maximum = 1;
    207207      chart.ChartAreas[0].AxisX.Interval = 1.0/DistanceSegments;
    208       chart.ChartAreas[0].AxisX.LabelStyle.Interval = 1.0/DistanceSegments*2;
     208      chart.ChartAreas[0].AxisX.LabelStyle.Interval = 1.0/DistanceSegments*4;
    209209      chart.ChartAreas[0].AxisY.Title = "Customers";
    210210      chart.ChartAreas[0].AxisY.Minimum = 0;
Note: See TracChangeset for help on using the changeset viewer.