Changing x-axis on a plot - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Changing x-axis on a plot

PapaGeekPapaGeek Posts: 2Member
I have a data array that is 289 by 4 which represents the plot of data for each 5 minute period in a day, inclusive of midnight at both ends.

I have a double array (xAxis) size 289 with the numbers from 0 to 24

When I plot ( xAxis , data ) ; the xAxis of my graph is labeled 0 5 10 15 20 24 with ticks only at those positions.

I'd like the xAxis to be 0 4 8 12 16 20 and 24 with ticks at all 24 locations.

Is this possible? If so, how to I change the plot command to do it?
Sign In or Register to comment.