Re: Matplotlib scale

2021-04-06 Thread Julien Hofmann
Thank you for your response, and thank you for the different tips concerning visualisation. I'll improve it. I've tried to put vmin and vmax in contourf(). It works but the values above 80% of the maximum value still remain red which makes the cartography not really clear. I think I should i

Re: Matplotlib scale

2021-04-05 Thread Thomas Jollans
On 04/04/2021 20:57, Julien Hofmann wrote: Hi everyone, I've created a code to run a 2D mapping using matplotlib from a .csv file. I've tried to set the maximum color (red) of the scale as 80% of the maximum value and not as the maximum value of my .csv file. Does someone know how to modify th

Re: Matplotlib scale

2021-04-05 Thread Julien Hofmann
Le lundi 5 avril 2021 à 21:50:49 UTC+2, David Lowry-Duda a écrit : Thank you for your response! I just tried it but it doesn't make what I want. Bassically, I would like to not put any color for every values above 0.8 times the maximum value (ie. 488). Hence, the ''maximum'' color (ie. red) woul

Re: Matplotlib scale

2021-04-05 Thread David Lowry-Duda
Hello, > I've created a code to run a 2D mapping using matplotlib from a .csv > file. > I've tried to set the maximum color (red) of the scale as 80% of the maximum > value and not as the maximum value of my .csv file. > Does someone know how to modify that? If I understand what you're trying t

Matplotlib scale

2021-04-04 Thread Julien Hofmann
Hi everyone, I've created a code to run a 2D mapping using matplotlib from a .csv file. I've tried to set the maximum color (red) of the scale as 80% of the maximum value and not as the maximum value of my .csv file. Does someone know how to modify that? I've tried different solution but it does