Menu

Gradient color representation

Help
2016-01-14
2016-01-14
  • Amédé Foin

    Amédé Foin - 2016-01-14

    Hello everybody,

    I have been looking for my problem everywhere. So far I didn't find any posy which deals with, to be honest I am even not sure that is possible to do with gnuplot.

    To give a bit the background, I am a PhD student and I work on neurophysics, I need to plot the dynamical evolution of a 1-dimensional node lattice. To do that I would like to assign a color for a specific float value (a kind of gradient color), the files I get from my C program look like this :

    0.850750 0.851563 0.850293 0.849081 0.849962 0.850255 0.851339 0.850701 0.849467 0.848893
    0.850740 0.851552 0.850283 0.849071 0.849952 0.850245 0.851328 0.850691 0.849457 0.848884
    0.850729 0.851541 0.850273 0.849062 0.849942 0.850235 0.851317 0.850681 0.849448 0.848874
    ...............................................................................................................................................................

    Here for example there is only ten nodes and I only output for three different time values.

    On the top I would like to have the first line where each value has a specific color, just below the second line and etc... (The time goes from the top to the bottom) This kind of representation allows to know if there is a wave propagation in the lattice or not.

    Thank you by advance.

    PS : I apologize for my english and my explanations, this is not my native language and then I keep on doing a lot of mystakes !

    hyppolite

     
    • Ethan Merritt

      Ethan Merritt - 2016-01-14

      On Thursday, 14 January 2016 11:29:45 AM Amédé Foin wrote:

      Hello everybody,

      I have been looking for my problem everywhere. So far I didn't find any posy which deals with, to be honest I am even not sure that is possible to do with gnuplot.

      To give a bit the background, I am a PhD student and I work on neurophysics, I need to plot the dynamical evolution of a 1-dimensional node lattice. To do that I would like to assign a color for a specific float value (a kind of gradient color), the files I get from my C program look like this :

      0.850750 0.851563 0.850293 0.849081 0.849962 0.850255 0.851339 0.850701 0.849467 0.848893
      0.850740 0.851552 0.850283 0.849071 0.849952 0.850245 0.851328 0.850691 0.849457 0.848884
      0.850729 0.851541 0.850273 0.849062 0.849942 0.850235 0.851317 0.850681 0.849448 0.848874
      ...............................................................................................................................................................

      Here for example there is only ten nodes and I only output for three different time values.

      On the top I would like to have the first line where each value has a specific color, just below the second line and etc... (The time goes from the top to the bottom) This kind of representation allows to know if there is a wave propagation in the lattice or not.

      See example from the demo collection:

      http://gnuplot.sourceforge.net/demo/heatmaps.html[1]

      Thank you by advance.

      PS : I apologize for my english and my explanations, this is not my native language and then I keep on doing a lot of mystakes !

      hyppolite


      Gradient color representation


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gnuplot/discussion/5925/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

      --


      [1] http://gnuplot.sourceforge.net/demo/heatmaps.html

       
  • Amédé Foin

    Amédé Foin - 2016-01-14

    Ok thank you very much it works perfectly !

     

Log in to post a comment.