From: Niall Heavey on
Hi all,

I am currently creating a line chart from a m-file, it is going to be usable for a lot of different data so it needs to be quite robust.

The problem i'm having is as follows, I have one hours data and I am plotting it in terms of 5 minute intervals, This means that the x axis is split into sections as follows, 0-5, 5-10, 10-15, 15-20, 20-25, 25-30, 30-35, 35-40, 40-45, 45-50, 50-55, 55-60.

I have set this up manually in the "edit axis ticks" section where the list above were the labels and the locations were the center points of these label values, such as 2.5, 7.5, 12.5, 17.5 and so on.

What i'm trying to do (if possible) is either get the source code for what I have already done so I can copy it into my m-file to reuse, or find out how to do it in code so I can use it in my m-file.

Any one got any ideas?

Thanks,

N
 | 
Pages: 1
Prev: Problem xUnit static methods
Next: Axis Properties