'How to set an arbitrary z value for XY pairs in a series with gnuplot

I have a csv file with multiple XY data pairs. Each data pair is separated by one hour. I would like to graph these data pairs in one 3D graph so I can leverage the depth to better visualize the graph. can I set an arbitrary Z value for each XY data pair, where Z=hours? I understand I could alter the CSV file to have a third column for each pair, but in my case it would be faster to simply arbitrate a z value for each pair (if possible). Thank you.

For example, 1:2 is hour 1, and 3:4 is hour 2, and so on...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source