Using two sprinti calls in one string

From: Ciara O'Hara <cohara1985_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 06 2014 - 09:01:04 MST

Hi everyone,

I want to add a title to my graph that says "Average Winter Temperature i/j" where i and j are years that the script is running through.

The script I have is:

resources@tiMainString="Average Winter Temperature " + sprinti("%0.4i",i) " / " + sprinti("%0.4j",j)

but the title I am getting is: Average Winter Temperature i /

The second year does not appear.

Can anyone tell me how I can use two sprinti calls in one string?

Regards,
Ciara

                                               

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 6 09:01:24 2014

This archive was generated by hypermail 2.1.8 : Fri Mar 14 2014 - 15:08:52 MDT