C RUBY-ON-RAILS MYSQL ASP.NET DEVELOPMENT RUBY .NET LINUX SQL-SERVER REGEX WINDOWS ALGORITHM ECLIPSE VISUAL-STUDIO STRING SVN PERFORMANCE APACHE-FLEX UNIT-TESTING SECURITY LINQ UNIX MATH EMAIL OOP LANGUAGE-AGNOSTIC VB6 MSBUILD

# Modify Marker Transparency with Excel VBA

By : user2955150
Date : November 22 2020, 10:38 AM
should help you out I made another solution to this writing a small python script which creates more points based on the weight of each point e.g. if the weight of a point is 12 then 12 identical points with the specifications of this point are created. Then saved all these in a csv and plotted it and changed opacity for all markers manually (this is easy) to a number that gave me satisfying result. As the extra points created overlay each other, the final product will show the weight of each point as well.
code :

Share :

## Changing line transparency of a series without affecting marker transparency in Excel VBA

By : Ginu Philip Simon
Date : March 29 2020, 07:55 AM
will be helpful for those in need This answer isn't going to make you very happy.
I've looked into this before and the information i've gotten is that this simply isn't a parameter that you can specify through VBA. It looks like you can access marker style, size, background color and foreground color, and that's about it.
code :
`````` mychart.ApplyChartTemplate ("filepath\filename.crtx")
``````

## Legend marker transparency - Matplotlit

By : user2119739
Date : March 29 2020, 07:55 AM
To fix the issue you can do I'm have a plot with rgba points and, when I show the legend for them, I got the markers' legend with alpha values. How can I show them with full opacity? , I could solve it using this piece of code:
code :
``````marker_min = plt.Line2D((0, 0), (0, 0), markeredgecolor=(0.5, 0.0, 0.0), markerfacecolor='none', linestyle='', marker='x', markeredgewidth=2, markersize=5)
marker_max = plt.Line2D((0, 0), (0, 0), markeredgecolor=(0.0, 0.5, 0.0), markerfacecolor='none', linestyle='', marker='o', markeredgewidth=2, markersize=5)
plt.legend([marker_min, marker_max], ['Min Points', 'Max Points'], numpoints=1, loc='center left', bbox_to_anchor=(1, 0.5))
``````

## is there a way to make the transparency in the google map marker not clickable

By : Magda Costa
Date : March 29 2020, 07:55 AM
wish helps you There is a shape option for a google.maps.Marker that allows you to specify the "clickable" region for the marker for non-IE browsers.
code :
``````marker = new google.maps.Marker({
position: loc,
map: map,
draggable: false,
icon: icon,
zIndex: -20,
shape: {
type: 'poly',
coords: [50,50,  105,50,  75,90,  50,50]
}
});
``````
``````var myLatlng = new google.maps.LatLng(38.392303, -86.931067);

zoom: 4,
center: myLatlng,
});

var iconUrl = "data:image/svg+xml;charset=utf-8," + escape(document.getElementById("builtMarker").innerHTML);
var sizeX = 160;
var sizeY = 140;
var icon = {
url: iconUrl,
anchor: new google.maps.Point(sizeX / 2, sizeY / 2)
};
title: "SVG mark",
position: loc,
map: map,
draggable: false,
icon: icon,
zIndex: -20,
shape: {
type: 'poly',
coords: [50, 50, 105, 50, 75, 90, 50, 50]
}
});
map.panTo(loc);``````
``````<script src="https://maps.googleapis.com/maps/api/js?v=3"></script>
<div id="map-canvas" style="height:600px"></div>
<div id="builtMarker">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="595.28px" height="841.89px" viewBox="0 0 595.28 841.89" enable-background="new 0 0 595.28 841.89" xml:space="preserve">
<path fill="#74C380" stroke="#000000" stroke-miterlimit="10" d="M319.669,455.002c-11.99-16.691-22.492-15.168-22.492-15.168v0.016
c-0.006,0-10.504-1.488-22.475,15.23c1.299,3.563,22.51,61.154,22.51,61.154l0.004-0.02
C297.216,516.213,318.372,458.568,319.669,455.002z" />
<path opacity="0.54" fill="#74C380" stroke="#000000" stroke-miterlimit="10" d="M297.187,440.656" />
<path fill="#234821" stroke="#000000" stroke-miterlimit="10" d="M297.171,422.465c0,0-13.275-0.682-26.111,12.199
c0.713,1.557,4.797,9.029,6.254,11.705c10.332-10.494,19.873-9.631,19.873-9.631s9.543-0.877,19.9,9.602
c1.451-2.68,5.516-10.158,6.225-11.717C310.444,421.764,297.171,422.465,297.171,422.465z" />
<path fill="#C52727" stroke="#000000" stroke-miterlimit="10" d="M297.165,404.046c0,0-17.482-0.683-34.387,12.198
c0.939,1.557,6.316,9.029,8.236,11.705c13.607-10.494,26.174-9.629,26.174-9.629s12.568-0.879,26.209,9.6
c1.906-2.68,7.262-10.156,8.195-11.717C314.646,403.344,297.165,404.046,297.165,404.046z" />
<path fill="#D8E022" stroke="#000000" stroke-miterlimit="10" d="M297.157,385.625c0,0-21.969-0.682-43.213,12.199
c1.18,1.557,7.938,9.029,10.352,11.705c17.098-10.494,32.895-9.63,32.895-9.63s15.793-0.878,32.936,9.601
c2.396-2.68,9.127-10.157,10.301-11.717C319.13,384.924,297.157,385.625,297.157,385.625z" />
<path fill="#3F52A4" stroke="#000000" stroke-miterlimit="10" d="M297.149,367.205c0,0-28.982-0.682-57.008,12.199
c1.559,1.557,10.471,9.029,13.654,11.705c22.557-10.494,43.396-9.63,43.396-9.63s20.834-0.878,43.447,9.601
c3.16-2.68,12.041-10.157,13.59-11.717C326.132,366.504,297.149,367.205,297.149,367.205z" />
<path fill="#3B98D4" stroke="#000000" stroke-miterlimit="10" d="M297.142,348.785c0,0-35.719-0.682-70.26,12.198
c1.922,1.557,12.906,9.03,16.828,11.706c27.803-10.494,53.484-9.631,53.484-9.631s25.676-0.877,53.549,9.601
c3.893-2.679,14.838-10.157,16.746-11.716C332.86,348.083,297.142,348.785,297.142,348.785z" />
<path fill="#B24F9E" stroke="#000000" stroke-miterlimit="10" d="M297.13,325.867c0,0-44.416-0.811-87.363,14.494
c2.389,1.85,16.049,10.729,20.924,13.909c34.572-12.469,66.506-11.443,66.506-11.443s31.926-1.043,66.584,11.408
c4.842-3.184,18.453-12.068,20.824-13.922C341.546,325.032,297.13,325.867,297.13,325.867z" />
<stop offset="0.0545" style="stop-color:#C6E09B;stop-opacity:0.66" />
<stop offset="0.1343" style="stop-color:#B2C98A;stop-opacity:0.5676" />
<stop offset="0.2804" style="stop-color:#88A069;stop-opacity:0.3983" />
<stop offset="0.475" style="stop-color:#4F6B3C;stop-opacity:0.1729" />
<stop offset="0.6242" style="stop-color:#234821;stop-opacity:0" />
<path fill="url(#SVGID_1_)" d="M297.528,422.491c0,0-13.275-0.682-26.111,12.199c0.713,1.557,4.797,9.029,6.254,11.705
c10.332-10.494,19.873-9.631,19.873-9.631s9.543-0.877,19.9,9.602c1.451-2.68,5.516-10.158,6.225-11.717
C310.802,421.79,297.528,422.491,297.528,422.491z" />
<stop offset="0.0545" style="stop-color:#C6E09B;stop-opacity:0.66" />
<stop offset="0.1343" style="stop-color:#B2C98A;stop-opacity:0.5676" />
<stop offset="0.2804" style="stop-color:#88A069;stop-opacity:0.3983" />
<stop offset="0.475" style="stop-color:#4F6B3C;stop-opacity:0.1729" />
<stop offset="0.6242" style="stop-color:#234821;stop-opacity:0" />
<path fill="url(#SVGID_2_)" d="M297.839,404.046c0,0-17.649-0.682-34.715,12.199c0.948,1.557,6.377,9.029,8.314,11.705
c13.736-10.494,26.421-9.631,26.421-9.631s12.688-0.877,26.458,9.602c1.929-2.68,7.333-10.158,8.275-11.717
C315.485,403.345,297.839,404.046,297.839,404.046z" />
<stop offset="0.0545" style="stop-color:#C6E09B;stop-opacity:0.66" />
<stop offset="0.1343" style="stop-color:#B2C98A;stop-opacity:0.5676" />
<stop offset="0.2804" style="stop-color:#88A069;stop-opacity:0.3983" />
<stop offset="0.475" style="stop-color:#4F6B3C;stop-opacity:0.1729" />
<stop offset="0.6242" style="stop-color:#234821;stop-opacity:0" />
<path fill="url(#SVGID_3_)" d="M297.161,385.625c0,0-21.972-0.682-43.217,12.199c1.18,1.557,7.938,9.029,10.351,11.705
c17.101-10.494,32.892-9.631,32.892-9.631s15.796-0.877,32.938,9.602c2.401-2.68,9.129-10.158,10.303-11.717
C319.129,384.924,297.161,385.625,297.161,385.625z" />
<stop offset="0.0545" style="stop-color:#C6E09B;stop-opacity:0.66" />
<stop offset="0.1343" style="stop-color:#B2C98A;stop-opacity:0.5676" />
<stop offset="0.2804" style="stop-color:#88A069;stop-opacity:0.3983" />
<stop offset="0.475" style="stop-color:#4F6B3C;stop-opacity:0.1729" />
<stop offset="0.6242" style="stop-color:#234821;stop-opacity:0" />
<path fill="url(#SVGID_4_)" d="M297.654,367.205c0,0-29.24-0.665-57.513,11.903c1.57,1.519,10.564,8.81,13.774,11.421
c22.757-10.239,43.771-9.397,43.771-9.397s21.02-0.855,43.832,9.369c3.195-2.615,12.147-9.912,13.71-11.433
C326.888,366.521,297.654,367.205,297.654,367.205z" />
<stop offset="0.0545" style="stop-color:#C6E09B;stop-opacity:0.66" />
<stop offset="0.1343" style="stop-color:#B2C98A;stop-opacity:0.5676" />
<stop offset="0.2804" style="stop-color:#88A069;stop-opacity:0.3983" />
<stop offset="0.475" style="stop-color:#4F6B3C;stop-opacity:0.1729" />
<stop offset="0.6242" style="stop-color:#234821;stop-opacity:0" />
<path fill="url(#SVGID_5_)" d="M297.818,349.075c0,0-36.814-0.665-72.411,11.903c1.978,1.519,13.301,8.81,17.343,11.421
c28.651-10.239,55.11-9.397,55.11-9.397s26.465-0.855,55.188,9.369c4.022-2.615,15.295-9.912,17.262-11.433
C334.626,348.391,297.818,349.075,297.818,349.075z" />
<stop offset="0.0545" style="stop-color:#C6E09B;stop-opacity:0.66" />
<stop offset="0.1343" style="stop-color:#B2C98A;stop-opacity:0.5676" />
<stop offset="0.2804" style="stop-color:#88A069;stop-opacity:0.3983" />
<stop offset="0.475" style="stop-color:#4F6B3C;stop-opacity:0.1729" />
<stop offset="0.6242" style="stop-color:#234821;stop-opacity:0" />
<path fill="url(#SVGID_6_)" d="M297.614,325.407c0,0-46.028-0.813-90.535,14.553c2.472,1.856,16.63,10.771,21.684,13.964
c35.823-12.519,68.904-11.489,68.904-11.489s33.089-1.046,69.001,11.455c5.029-3.198,19.124-12.119,21.582-13.979
C343.636,324.57,297.614,325.407,297.614,325.407z" />
</svg>
</div>``````

## Controlling scatterhist Marker Transparency

By : user3346047
Date : March 29 2020, 07:55 AM
Does that help tl;dr: In MATLAB R2019a,
scatterhist() can do contours but it is difficult (yet possible) to add marker transparency, and
code :
``````% MATLAB R2019a
n = 250;                % Number of Points
X = exprnd(3,n,1);
Y = gamrnd(9,1/3,n,1);
``````
``````T = table(X,Y);
figure
s = scatterhistogram(T,'X','Y',...
'HistogramDisplayStyle','smooth',...
'LineStyle','-')
s.MarkerAlpha = 0.5;                    %  adjust transparency
``````
``````% This will give an error in R2019a
figure
s = scatterhistogram(T,'X','Y','HistogramDisplayStyle','smooth','LineStyle','-')
hold on
[m,c] = hist3([X', Y']);            % [m,c] = hist3([X(:), Y(:)]);
contour(c{1},c{2},m)
``````
``````figure
s = scatterhist(X,Y,'Direction','out')
s(1).Children.Marker = '.'
hold on
[m,c] = hist3([X(:), Y(:)]);
ch = contour(c{1},c{2},m)
``````
``````figure1 = figure;

% Create axes
axes1 = axes('Tag','scatter','Parent',figure1,...
'Position',[0.35 0.35 0.55 0.55]);
hold(axes1,'on');

% Create plot
s = scatter(X,Y,'Parent',axes1,'MarkerFaceColor','r','Marker','o');

ylabel('Y');
xlabel('X');
box(axes1,'on');
% Create axes
axes2 = axes('Tag','yhist','Parent',figure1,...
'Position',[0.0325806451612903 0.35 0.217016129032258 0.55]);
axis off
hold(axes2,'on');

% Create histogram
hx = histogram(X,'Parent',axes2,'FaceAlpha',1,'FaceColor','r',...
'Normalization','pdf',...
'BinMethod','auto');
view(axes2,[270 90]);
box(axes2,'on');

% Create axes
axes3 = axes('Tag','xhist','Parent',figure1,...
'Position',[0.35 0.0493865030674847 0.55 0.186679572132827]);
axis off
hold(axes3,'on');

% Create histogram
hy = histogram(Y,'Parent',axes3,'FaceAlpha',1,'FaceColor','r',...
'Normalization','pdf',...
'BinMethod','auto');
box(axes3,'on');
axis(axes3,'ij');

[m,c] = hist3([X(:), Y(:)]);
contour(axes1,c{1},c{2},m)

alphaVal = 0.3;
alpha(s,0.5)            % Set Transparency
alpha(hx,0.5)
alpha(hy,0.5)
``````