<div dir="ltr"><div><div><div><div><div><div><div>Yeah, looks nice.<br><br></div>So the idea would be instead of writing<br><br></div>${TIME}<br><br></div>one could write<br><br></div>${TIME:.2f}<br><br></div>or even just<br><br></div>{TIME:.2f}<br><br></div>to produce a formated TIME value?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 19, 2018 at 1:10 PM, Scott, W Alan <span dir="ltr"><<a href="mailto:wascott@sandia.gov" target="_blank">wascott@sandia.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1<br>
<div class="HOEnZb"><div class="h5"><br>
> -----Original Message-----<br>
> From: Paraview-developers [mailto:<a href="mailto:paraview-developers-">paraview-developers-</a><br>
> <a href="mailto:bounces@public.kitware.com">bounces@public.kitware.com</a>] On Behalf Of Utkarsh Ayachit<br>
> Sent: Monday, March 19, 2018 9:45 AM<br>
> To: ParaView Developers <<a href="mailto:paraview-developers@paraview.org">paraview-developers@paraview.<wbr>org</a>><br>
> Subject: [EXTERNAL] [Paraview-developers] Adding a fmtlib to ParaView/VTK<br>
><br>
> Folks,<br>
><br>
> I was reviewing MR [1] which got me thinking that we have no standard rules<br>
> for formatting strings. It would be great it there was uniform mechanism that<br>
> we can train users on to build strings from fields or numbers which ability to<br>
> specify precision etc.<br>
><br>
> I've seen fmtlib [2] used before and given that it's formatting syntax is similar<br>
> to that available in Python, it may be a good choice to adopt.<br>
><br>
> I am thinking all places were we convert numbers to labels e.g.<br>
> Annotation Time filter/source, Chart titles, Python Annotation filter, etc. can<br>
> support such format strings.<br>
><br>
> Thoughts?<br>
><br>
> Utkarsh<br>
><br>
> [1] <a href="https://gitlab.kitware.com/paraview/paraview/merge_requests/2323" rel="noreferrer" target="_blank">https://gitlab.kitware.com/<wbr>paraview/paraview/merge_<wbr>requests/2323</a><br>
> [2] <a href="http://fmtlib.net/latest/index.html" rel="noreferrer" target="_blank">http://fmtlib.net/latest/<wbr>index.html</a><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-</a><br>
> developers<br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="https://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">https://public.kitware.com/<wbr>mailman/listinfo/paraview-<wbr>developers</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div>