Question: ListdensityPlot, shorten Hue color range

Hi all,

Wondering if there is a way to change the HUE color range that will be used for listdensity plot.

Currently default setting is to use the full HUE color. But what we need is a shorter range, e.g., only from orange to blue.

Can it be achieved?

Or the PLOT structure has to be used?

 

This is the code i am using now.

with(plots):
interface(plotdevice):
plotsetup(gif,plotoutput = "d:\\plot3.gif"):
Data := op(1,fscanf("d:\\test.txt", "%{500,270,3}fa")):
lseq := [seq([seq(Data[i, j, 3], j = 1 .. 270)], i = 1 .. 500)]:
a:=listdensityplot(lseq,colorstyle=HUE,transparency=0.9,style = PATCHNOGRID):
b:=listcontplot(lseq):
display(a,b,scaling = constrained);

 

Thanks a lot for your help!

Please Wait...