Printing output from a compute temp/profile

Hello all,

I’ve been trying to print the output from compute temp/profile using the bin output, which gives a N x 2 array where N is the number of bins.

The best I’ve stumbled upon is using compute slice to cut the array up into 2 separate vectors, and using

thermo_style custom c_slice[*]

to print the values to the log file.
However, it seems that compute slice does not include the final entry in the vector, i.e.

compute mySlice all slice 1 4 1 c_myCompute

only includes the first 3 values into the resulting sliced vector.

Is there a way for slice to include all values in a vector, including the final one?
Is there a better way to do this entire thing that bypasses this?

Thank you.