<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: QuickWin - Visualisation of a progress in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849684#M65462</link>
    <description>&lt;DIV style="margin:0px;"&gt;it sounds likw what you want is to incrementally scale the diagram.&lt;BR /&gt;Meaning the initial scale is to 100, then once it &amp;gt; 100, simply rescale to 200, etc.&lt;BR /&gt;if you use background bitmap/swapping, then the transition is smooth (no 'clear' visible).&lt;/DIV&gt;
&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Apr 2009 14:11:31 GMT</pubDate>
    <dc:creator>bmchenry</dc:creator>
    <dc:date>2009-04-28T14:11:31Z</dc:date>
    <item>
      <title>QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849682#M65460</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I want to visualise a progress in a QuickWin Window, something like the CPU progress when you view the Windows Task-Manager.&lt;BR /&gt;&lt;BR /&gt;Right now I have a fixed X-Axis, for example from 0s to 100s. When the calculation reaches 100s, I delete the whole diagram, draw a new one where the X-Axis shows the timeframe 100sto 200s and so on. The disadvantage is, that you dont see the former values (in this case the last 100s).&lt;BR /&gt;&lt;BR /&gt;A simple but inefficient way would be to store all Y Datas, delete the diagram and redraw them all.&lt;BR /&gt;&lt;BR /&gt;Does anyone knows a trick how to do it better?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Markus</description>
      <pubDate>Tue, 28 Apr 2009 10:24:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849682#M65460</guid>
      <dc:creator>onkelhotte</dc:creator>
      <dc:date>2009-04-28T10:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849683#M65461</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/90977"&gt;onkelhotte&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi there,&lt;BR /&gt;&lt;BR /&gt;I want to visualise a progress in a QuickWin Window, something like the CPU progress when you view the Windows Task-Manager.&lt;BR /&gt;&lt;BR /&gt;Right now I have a fixed X-Axis, for example from 0s to 100s. When the calculation reaches 100s, I delete the whole diagram, draw a new one where the X-Axis shows the timeframe 100sto 200s and so on. The disadvantage is, that you dont see the former values (in this case the last 100s).&lt;BR /&gt;&lt;BR /&gt;A simple but inefficient way would be to store all Y Datas, delete the diagram and redraw them all.&lt;BR /&gt;&lt;BR /&gt;Does anyone knows a trick how to do it better?&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;If your step is e.g. 5%, you can do a "cut and paste" (GETIMAGE/PUTIMAGE) of the image of the last (5-100%) of the diagram onto the (0-95%) position of the screen. Then, redraw only the last 5% of the diagram. In this way, user continuously sees the last window of the data. Task Manager CPU load diagram looks suspiciously like using that technique.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 11:05:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849683#M65461</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2009-04-28T11:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849684#M65462</link>
      <description>&lt;DIV style="margin:0px;"&gt;it sounds likw what you want is to incrementally scale the diagram.&lt;BR /&gt;Meaning the initial scale is to 100, then once it &amp;gt; 100, simply rescale to 200, etc.&lt;BR /&gt;if you use background bitmap/swapping, then the transition is smooth (no 'clear' visible).&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 14:11:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849684#M65462</guid>
      <dc:creator>bmchenry</dc:creator>
      <dc:date>2009-04-28T14:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849685#M65463</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/391180"&gt;Jugoslav Dujic&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;If your step is e.g. 5%, you can do a "cut and paste" (GETIMAGE/PUTIMAGE) of the image of the last (5-100%) of the diagram onto the (0-95%) position of the screen. Then, redraw only the last 5% of the diagram. In this way, user continuously sees the last window of the data. Task Manager CPU load diagram looks suspiciously like using that technique.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;SPAN style="font-size: small;"&gt;Even easier, take a look at the WinAPI function &lt;STRONG&gt;ScrollWindow&lt;/STRONG&gt;, which can move screen content as a graphics-block in any direction by any number of pixels, so you only redraw whatever fraction you want.&lt;/SPAN&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 14:17:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849685#M65463</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2009-04-28T14:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849686#M65464</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/93858"&gt;bmchenry&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;it sounds likw what you want is to incrementally scale the diagram.&lt;BR /&gt;Meaning the initial scale is to 100, then once it &amp;gt; 100, simply rescale to 200, etc.&lt;BR /&gt;if you use background bitmap/swapping, then the transition is smooth (no 'clear' visible).&lt;/DIV&gt;
&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;It sounds like you want to apply asliding100 second wide X-axis window on your data that is then plotted into a screen window of fixed dimensions. So save all your (X,Y) data then, when you want to replot, just change your scaling to select the new starting X-value for your data. Your upper X-value will be Xstartnew +100. Your plot window has fixed dimensions in pixels, so then determine the pixel co-ordinates for all your data points using the new scaling. e.g. Xpixelnumber = 0+ (Xvalue-Xstartnew)*windowXpixelwidth/100.&lt;BR /&gt;&lt;BR /&gt;Any -ve pixel co-ordinates or Xpixelnumber values falling outside this windowXpixelwidth windowwill not matter, windows will automatically drop them if you try and draw to them. The main problem is plotting and replotting without getting flicker. You may find using windows API plotting better as then you can use a memory buffer to plot new data and then swap it onto the bitmap in the window device context.</description>
      <pubDate>Tue, 28 Apr 2009 14:31:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849686#M65464</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2009-04-28T14:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849687#M65465</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/77713"&gt;Paul Curtis&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;SPAN style="font-size: small;"&gt;Even easier, take a look at the WinAPI function &lt;STRONG&gt;ScrollWindow&lt;/STRONG&gt;, which can move screen content as a graphics-block in any direction by any number of pixels, so you only redraw whatever fraction you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;I don't think that ScrollWindow will do the job in QuickWin context, because QuickWin has internal double-buffering. It will erase the effects of ScrollWindow as soon as the window gets a WM_PAINT.&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 14:32:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849687#M65465</guid>
      <dc:creator>Jugoslav_Dujic</dc:creator>
      <dc:date>2009-04-28T14:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849688#M65466</link>
      <description>&lt;DIV style="margin:0px;"&gt;How about just subtracting a gradually increasing X-value from your X data values before you re-plot them?&lt;/DIV&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 14:47:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849688#M65466</guid>
      <dc:creator>anthonyrichards</dc:creator>
      <dc:date>2009-04-28T14:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: QuickWin - Visualisation of a progress</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849689#M65467</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/391180"&gt;Jugoslav Dujic&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;BR /&gt;I don't think that ScrollWindow will do the job in QuickWin context, because QuickWin has internal double-buffering. It will erase the effects of ScrollWindow as soon as the window gets a WM_PAINT.&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hmmm, interesting. Reason #762 to drop QuickWin and process your own message loops directly from Fortran.&lt;BR /&gt;&lt;BR /&gt;Just think how much traffic in this forum is devoted to howto limitiations of QuickWin vs. full Win32. If only there were some way to harness that energy...&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Apr 2009 16:52:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/QuickWin-Visualisation-of-a-progress/m-p/849689#M65467</guid>
      <dc:creator>Paul_Curtis</dc:creator>
      <dc:date>2009-04-28T16:52:07Z</dc:date>
    </item>
  </channel>
</rss>

