gnuplot: make only one border thicker in surface plot


Ramgorur

So I am trying to draw a 3D sphere on the first quadrant like this -

enter image description here

I want to make this line BCbold/bold. How do I do this?

Here is my gnuplot script:

set term wxt 0
set parametric
set urange[0:0.5 * pi]
set vrange[0:0.5 * pi]
r = 1
fx(v,u) = r * cos(v) * cos(u)
fy(v,u) = r * sin(u) * cos(v)
fz(v) = r * sin(v)
set label 1 "A" font "Arial, 15" front at 0.000, 0.900, -0.050 
set label 2 "B" font "Arial, 15" front at 0.050, 0.000, 0.900
set label 3 "C" font "Arial, 15" front at 1.050, 0.105, 0.000
set pm3d depthorder border linetype 1 linewidth 0.50
set style fill transparent solid 0.50 border
set palette
set hidden3d
unset colorbox
splot fx(u,v), fy(u,v), fz(u) w pm3d, \
    "< echo '0.000 0.000 1.000'" with points pt 7 ps 0.75 lc rgb 'black', \
    "< echo '0.000 1.000 0.000'" with points pt 7 ps 0.75 lc rgb 'black', \
    "< echo '1.000 0.000 0.000'" with points pt 7 ps 0.75 lc rgb 'black'
set term push
set term pdf enhanced mono
set output "b1.pdf"
replot
unset output
set term pop
system(sprintf("%s", "pdfcrop b1.pdf b1.pdf"))
Siorge

Well, just draw the B,C lines again with lines.

What is this line in the parameter representation?fx(u,0), fy(0,0), fz(u)

splot fx(u,v), fy(u,v), fz(u) w pm3d, \
    fx(u,0), fy(0,0), fz(u) w l lw 3 lc rgb "red"

This gives you something like this... (well, a different terminal...)

enter image description here

Related


gnuplot: make only one border thicker in surface plot

Ramgorur So I am trying to draw a 3D sphere on the first quadrant like this - I want to make this line BCbold/bold. How do I do this? Here is my gnuplot script: set term wxt 0 set parametric set urange[0:0.5 * pi] set vrange[0:0.5 * pi] r = 1 fx(v,u) = r * cos

How to make map border thicker in Google Geomap?

Nicholas R. I am using a dhtml map to deploy to google appengine . Now, I want to make the border darker and thicker. How to do it? I have deployed this map My model is as follows Can we try to make my map look more like a mockup? My code so far is this. <!DOC

How to make map border thicker in Google Geomap?

Nicholas R. I am using a dhtml map to deploy to google appengine . Now, I want to make the border darker and thicker. How to do it? I have deployed this map My model is as follows Can we try to make my map look more like a mockup? My code so far is like this.

How to make map border thicker in Google Geomap?

Nicholas R. I am using a dhtml map to deploy to google appengine . Now, I want to make the border darker and thicker. How to do it? I have deployed this map My model is as follows Can we try to make my map look more like a mockup? My code so far is this. <!DOC

How to make map border thicker in Google Geomap?

Nicholas R. I am using a dhtml map to deploy to google appengine . Now, I want to make the border darker and thicker. How to do it? I have deployed this map My model is as follows Can we try to make my map look more like a mockup? My code so far is this. <!DOC

How to plot the surface of a sphere in gnuplot?

trade off How to draw a white sphere? In three dimensions, the radius should be 1, centered at the origin. I have scattered point data on a sphere. It's hard to see it because the point on the other end of the sphere is also visible. So I want to create a whit

Make lines thicker in matplotlib time series "spaghetti" plot

13sen1 thanks for reading. I have a plot and want to make the most recent years in the dataset stand out. My data is just a long-term series, so I want to plot year-over-year comparisons, so I pivot it first, then plot it. The first piece of code runs and give

Make lines thicker in matplotlib time series "spaghetti" plot

13sen1 thanks for reading. I have a plot and want to make the most recent years in the dataset stand out. My data is just a long-term series, so I want to plot year-over-year comparisons, so I pivot it first, then plot it. The first piece of code runs and give

gnuplot: plot image without white border

Felix I want to use gnuplot to plot image data without any borders, tics, etc. Only display images. Unfortunately gnuplot always draws the bottom line as white. Here's an example that results in a completely black 3x3 pixel image: set term png size 3,3 set out

gnuplot: plot image without white border

Felix I want to use gnuplot to plot image data without any borders, tics, etc. Only display images. Unfortunately gnuplot always draws the bottom line as white. Here's an example that results in a completely black 3x3 pixel image: set term png size 3,3 set out

gnuplot: plot image without white border

Felix I want to use gnuplot to plot image data without any borders, tics, etc. Only display images. Unfortunately gnuplot always draws the bottom line as white. Here's an example that results in a completely black 3x3 pixel image: set term png size 3,3 set out

gnuplot: plot image without white border

Felix I want to use gnuplot to plot image data without any borders, tics, etc. Only display images. Unfortunately gnuplot always draws the bottom line as white. Here's an example that results in a completely black 3x3 pixel image: set term png size 3,3 set out

gnuplot: plot image without white border

Felix I want to use gnuplot to plot image data without any borders, tics, etc. Only display images. Unfortunately gnuplot always draws the bottom line as white. Here's an example that results in a completely black 3x3 pixel image: set term png size 3,3 set out

How to make a density plot with gnuplot

Katik Chajid For piecewise functions f(x,y) = x < 0 ? 0 : 0 <= x && x < 1 && x*y < 1 ? x : 1 Decomposed to follow the Mathematica language f(x,y) = 0 if x < 0 f(x,y) = x if 0 <= x < 1 & xy < 1 f(x,y) = 1 otherwise I want to make a density plot, it should loo

Plot only specific columns in gnuplot

username I have a csv file as below and I want to plot S (on x axis) and B (axis). How to generate line plots using gnuplot. Test_Image,Original_Size red-room.png,918394 Q,S,B,S,C,R 0,1021763,0.121086,0.00001459,-11.26,-222.18 1,1061763,0.1

Plot only specific columns in gnuplot

username I have a csv file as below and I want to plot S (on x axis) and B (axis). How to generate line plots using gnuplot. Test_Image,Original_Size red-room.png,918394 Q,S,B,S,C,R 0,1021763,0.121086,0.00001459,-11.26,-222.18 1,1061763,0.1

Gnuplot: plot only final dataset

username I want a way to plot only the last (final) dataset in a file containing multiple datasets. Can someone suggest doing this? For example, if I know there are exactly 10 datasets in the file, then: plot 'myfile.txt' index 9 will draw the last one. I don

Gnuplot: plot only final dataset

username I want a way to plot only the last (final) dataset in a file containing multiple datasets. Can someone suggest a way to do this? For example, if I know there are exactly 10 datasets in the file, then: plot 'myfile.txt' index 9 will draw the last one.

Plot only specific columns in gnuplot

username I have a csv file as below and I want to plot S (on x axis) and B (axis). How to generate line plots using gnuplot. Test_Image,Original_Size red-room.png,918394 Q,S,B,S,C,R 0,1021763,0.121086,0.00001459,-11.26,-222.18 1,1061763,0.1

Plot two plots in one gnuplot

multi-link I am currently plotting a spiral with some points in a gnuplot script. Now, I want to plot a second spiral in another spiral with the formula: splot[t=-1.5*pi:6*pi] sin(t), cos(t), t*0.23246067325 However, if I just add the command to the script, it

Gnuplot: Multiple plot size and scaling of one plot

Andrei Tudor I have this multimap: Generated by the following code: set terminal pdf size 15,10 set output "graph.pdf" set key off set multiplot layout 5, 1 scale 1, 1 set style data histograms set style histogram set style fill solid border -1 set boxwidth 0.

Gnuplot: Multiple plot size and scaling of one plot

Andrei Tudor I have this multimap: Generated by the following code: set terminal pdf size 15,10 set output "graph.pdf" set key off set multiplot layout 5, 1 scale 1, 1 set style data histograms set style histogram set style fill solid border -1 set boxwidth 0.

Gnuplot: Multiple plot size and scaling of one plot

Andrei Tudor I have this multimap: Generated by the following code: set terminal pdf size 15,10 set output "graph.pdf" set key off set multiplot layout 5, 1 scale 1, 1 set style data histograms set style histogram set style fill solid border -1 set boxwidth 0.

Gnuplot: Multiple plot size and scaling of one plot

Andrei Tudor I have this multimap: Generated by the following code: set terminal pdf size 15,10 set output "graph.pdf" set key off set multiplot layout 5, 1 scale 1, 1 set style data histograms set style histogram set style fill solid border -1 set boxwidth 0.

Gnuplot: Multiple plot size and scaling of one plot

Andrei Tudor I have this multimap: Generated by the following code: set terminal pdf size 15,10 set output "graph.pdf" set key off set multiplot layout 5, 1 scale 1, 1 set style data histograms set style histogram set style fill solid border -1 set boxwidth 0.

Outline on only one border

Corinna How to apply an inset border to an HTML element, but only on one side of it. Until now, I've been doing it with an image (GIF/PNG), then using it as a background and stretching it (repeat-x), moving a bit off the top of the block. Recently, I discovere

Gnuplot 3d surface plot and overlapping lines?

N_Physicist I need to draw a 3d surface (from a file) and then draw a line on that surface (from another file). I found a related thread ( Gnuplot: drawing paths on surfaces ), but the suggested answer is what I've already tried (it doesn't work). The surface

plot points on pm3d surface in gnuplot

Tom Fenech I have drawn a sphere using gnuplot in parametric mode. I'm trying to plot 3d data from a file that will surround a sphere. Points that overlap the sphere appear to be hidden, even though they should be in front of the shape. Here is my script: unse