heat

gnuplot heat map color range

守給你的承諾、 提交于 2019-12-05 05:25:46
I have some X Y Z data in a file and I'm using gnuplot to display it. I am creating a heat map, ie. a 2D plot where the Z value is presented using color. Right now I'm using the following script: set palette defined (0 "blue", 1 "red") plot "xyz.dat" u $1:$2:$3 w image My problem is, gnuplot ignores the 0 and 1 in the palette definition. It uses the colors specified, but rescales according to the minimal and maximal Z value in the file. This makes it hard to visually compare different plots whose z range is different. How do I tell gnuplot to stop rescaling the z color range? The "set palette

Harvesting a .csproj with heat.exe in Visual Studio 2008 and WiX(v3)

删除回忆录丶 提交于 2019-12-05 04:16:52
I found that Wix v3 uses a tool (heat.exe) to "harvest" information into WiX fragments. Either I am looking in the wrong location, or this is thinly documented. What is the best way to auto-generate a WiX fragment (likely using heat.exe) for a complex folder structure that contains media files: Of varying types (ico/png/xaml/etc) That may change regularly (names/locations/adds/removes) That are classified as "Content" and included in a .csproj such that they can be built into an installer via WiX and would withstand upgrades and patches with decorum? Background Information I found heat.exe,

Create 'heat map' from GPS data in matlab

泄露秘密 提交于 2019-12-04 19:25:07
I have a bunch of GPS-data from a soccer game (as a referee). I would like to create a heat map, so that it is clear where you spent most of the time in the field. So this means a red color when there are a lot of dots close to each other and blue color when there are no dots or the dots are far from each other. Someone an idea how to do this in Matlab? You can use the dscatter file written by Robert Henson. Sample example: addpath(genpath('../src_plot')); X = randn(1000,1); Y = randn(1000,1); dscatter(X, Y, 'plottype', 'image'); colormap('jet') You can use 'surf' , 'mesh' , 'contour' instead

Optimising an 1D heat equation using SIMD

眉间皱痕 提交于 2019-12-04 13:19:45
I am using a CFD code (for computational fluid dynamic). I recently had the chance to see Intel Compiler using SSE in one of my loops, adding a nearly 2x factor to computation performances in this loop. However, the use of SSE and SIMD instructions seems more like luck. Most of the time, the compiler do nothing. I am then trying to force the use of SSE, considering that AVX instructions will reinforce this aspect in the near future. I made a simple 1D heat transfer code. It consist of two phases, using the results of the other (U0 -> U1, then U1 -> U0, then U0 -> U1, etc). When it iterates, it

看中华小当家第二集片段记录<二>

随声附和 提交于 2019-12-04 09:28:55
Admiral Lee Was physically weakened to his limits. 个人理解:李上将 (physically 不认识) (limits 不认识) 李将军身体虚弱到了极限。(physically [ˈfɪzɪkli] 肉体地 身体地)(limits ['limits] n. 范围;极限(limit的复数);领土) The mystery Mapo Tofu helped him recover gently and powerfully. 个人理解:这个神秘的麻婆豆腐 帮助他重新恢复 精力(gently不认识)和力量 神秘的麻婆豆腐帮助他温和而有力地恢复。gently: [ˈdʒentli] adv. 轻轻地;温柔地,温和地 It was an 'exquisite contest of taste between tofu and meat' 个人理解:它是 (exquisite 这个单词又不知道什么意思了 上篇刚看到)味道在豆腐和肉之间。 这是一场“豆腐和肉之间的精致味觉竞赛” exquisite: [ɪkˈskwɪzɪt; ˈekskwɪzɪt] adj. 精致的;细腻的;优美的,高雅的;异常的;剧烈的。 contest [ˈkɒntest] n. 比赛,竞赛 。 And there were six united factors. 个人理解

Transform Heat generated .wxs with XSLT (add RegistryValue and edit some values)

元气小坏坏 提交于 2019-12-04 07:19:27
This is my desired output: <Component Id="C_SOMEFILE" Guid="some-guid-here"> <File Id="File_SOMEFILE" Source="$(var.Source)\SOMEFILE" KeyPath="no" /> <RegistryValue Root="HKCU" Key="Software\Product" Name="installed" Type="integer" Value="1" KeyPath="yes" /> </Component> This is my XSLT file: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi" xmlns="http://schemas.microsoft.com/wix/2006/wi" exclude-result-prefixes="xsl wix"> <xsl:output method="xml" indent="yes" omit-xml-declaration="yes" /> <xsl:strip-space

How to put black borders in heatmap in R

∥☆過路亽.° 提交于 2019-12-02 21:14:16
Hi I created a heatmap in R using "heatmap.plus" which is shown in the link http://i.stack.imgur.com/hizBf.jpg but I need the heat map to look like the heatmap shown in below link which was created from some other GUI software http://i.stack.imgur.com/Y8Faj.png How can I put black borders in every heatmap element in R If you follow the tutorial from Learn R blog and change the color in this paragraph to black, you will get: (p <- ggplot(nba.m, aes(variable, Name)) + geom_tile(aes(fill = rescale), colour = "black") + scale_fill_gradient(low = "white",high = "steelblue")) Try this: library

How to change the generated Directory Id for Wix using heat?

断了今生、忘了曾经 提交于 2019-12-01 06:09:56
I am using heat to generated wix files for multiple directories. However, it seems like if Directory A and Directory B has the same folder name, even though the absolute path is different, heat still think that it is the same directory, therefore generates the same directory Id. There seems to be a way of fixing that, is to override the generated Directory Id by using -directoryid, but there are no examples given in the manual, how are we suppose to pass in the arguments. Obviously, somehow it needs to know which Directory Id I wanted to change, I will very much appreciate it if someone could

Harvesting multiple directories in WiX

假如想象 提交于 2019-12-01 03:32:41
问题 I'm trying to build an installer that includes a number of features and I'm using heat to harvest a directory of files for each feature. My source directory structure looks something like this: HarvestDir \FeatureA \FeatureImpl.dll \FeatureImpl2.dll \FeatureB \FeatureImpl.dll \FeatureImpl2.dll So I execute heat.exe for each feature to create a fragment for each feature but I get basically identical fragments e.g. [...] Source="SourceDir\FeatureImpl.dll" [...] Source="SourceDir\FeatureImpl2

how to exclude files in Wix toolset

半腔热情 提交于 2019-11-30 18:13:20
While harvesting files for heat.exe, I would like to exclude the files with the extension .exe from the input folder since it fetches all the files in the folder at first place. Below is my code. "%WIX_PATH%\Heat.exe" dir "%input_folder%" -cg SourceProjectComponents -dr INSTALLLOCATION -scom -sreg -srd -var var.BasePath -gg -sfrag -var var.BasePath -out "%output_folder%\Output.wxs" PS: the input_folder consists of severall .dll and .exe files. hence individual harvesting of the file wasn't possible. Thanks in advance. Brian Sutherland You will need to use an XSLT transform. Something like this